From cacd013ef97a0be859f80857266148590b54a8b8 Mon Sep 17 00:00:00 2001 From: Hipstercat Date: Mon, 6 Jul 2020 19:33:30 +0200 Subject: [PATCH] could fix the error --- main.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 33d6ac9..369c0f0 100644 --- a/main.py +++ b/main.py @@ -5,6 +5,7 @@ import time import datetime import traceback import json +import http.client with open("config.json", "r") as fp: config = json.load(fp) @@ -29,9 +30,14 @@ def login(): def is_logged_in(): + global BROWSER if not BROWSER.response(): return False - return b'
  • \n\t\t\t\t\t\t
  • \n\t\t\t\t\t\t