diff options
-rwxr-xr-x | async_bot.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/async_bot.py b/async_bot.py index 7306753..8e04359 100755 --- a/async_bot.py +++ b/async_bot.py | |||
@@ -219,6 +219,9 @@ def main(): | |||
219 | cookies = cookies.read().strip() | 219 | cookies = cookies.read().strip() |
220 | logger.info(get_time() + ": {} Fetching from Intel...".format(str(count))) | 220 | logger.info(get_time() + ": {} Fetching from Intel...".format(str(count))) |
221 | 221 | ||
222 | with open('cookie') as cookies: | ||
223 | cookies = cookies.read().strip() | ||
224 | |||
222 | # fetch message per time | 225 | # fetch message per time |
223 | while True: | 226 | while True: |
224 | try: | 227 | try: |