Преглед на файлове

Fixed error of not saying what code server returned

Alois Mahdal преди 11 години
родител
ревизия
72f8a0a79d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      lib/htlogr.py

+ 1
- 1
lib/htlogr.py Целия файл

@@ -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):