Skip to content

Commit

Permalink
Do not exit when failed to get login page
Browse files Browse the repository at this point in the history
  • Loading branch information
tojo17 committed Jan 4, 2019
1 parent c7d8989 commit 7654bf7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions online.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ def handle_data(self, data):
html_res = requests.get(html_url, verify=not fiddler_ssl)
html_res.encoding = "GB2312"
except:
print_log("Failed to get login page. Exiting.")
exit()
print_log("Failed to get login page. Pass.")
return 0
# exit()
html_par = HtmlPar()
# print(html_res.text)
if not is_online(html_res):
Expand Down

0 comments on commit 7654bf7

Please sign in to comment.