Minor patch

This commit is contained in:
Miroslav Stampar
2018-12-31 01:01:19 +01:00
parent c799e794f2
commit 586c461ae6
3 changed files with 4 additions and 4 deletions

View File

@@ -1266,7 +1266,7 @@ class Connect(object):
finally:
kb.pageCompress = popValue()
if not pageLength:
if pageLength is None:
try:
page, headers, code = Connect.getPage(url=uri, get=get, post=post, method=method, cookie=cookie, ua=ua, referer=referer, host=host, silent=silent, auxHeaders=auxHeaders, response=response, raise404=raise404, ignoreTimeout=timeBasedCompare)
except MemoryError: