crawler: clean up code
continuous-integration/drone/push Build is passing Details

master
pictuga 2021-11-10 23:25:03 +01:00
parent e42df98f83
commit 7eeb1d696c
1 changed files with 2 additions and 2 deletions

View File

@ -428,7 +428,7 @@ class HTTPRefreshHandler(BaseHandler):
https_response = http_response https_response = http_response
def parse_headers(text=u'\n\''): def parse_headers(text=u'\n\n'):
if sys.version_info[0] >= 3: if sys.version_info[0] >= 3:
# python 3 # python 3
return message_from_string(text) return message_from_string(text)