This commit is contained in:
Miroslav Stampar
2018-04-06 01:13:04 +02:00
parent 641838ed73
commit 4f2669a45a
3 changed files with 4 additions and 4 deletions

View File

@@ -495,7 +495,7 @@ class Connect(object):
responseHeaders = {}
page = decodePage(page, responseHeaders.get(HTTP_HEADER.CONTENT_ENCODING), responseHeaders.get(HTTP_HEADER.CONTENT_TYPE))
status = getUnicode(conn.msg) if conn else None
status = getUnicode(conn.msg) if conn and getattr(conn, "msg", None) else None
kb.connErrorCounter = 0