Procházet zdrojové kódy

Fixed error of not saying what code server returned

Alois Mahdal před 11 roky
rodič
revize
72f8a0a79d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      lib/htlogr.py

+ 1
- 1
lib/htlogr.py Zobrazit soubor

@@ -59,7 +59,7 @@ class htlogr:
59 59
         self.conn.request("GET", pq)
60 60
         r = self.conn.getresponse()
61 61
         assert r.status == 200, ("logging server returned error %s,"
62
-                                 "message not logged")
62
+                                 "message not logged" % r.status)
63 63
         return r.read()
64 64
 
65 65
     def data(self, data, tag=None, i=None):