From e72690105ff9293d5a0a6db38647c292afdb618e Mon Sep 17 00:00:00 2001 From: Jinwei Zhao Date: Tue, 31 Jan 2017 21:41:01 +0800 Subject: modify timeout --- async_bot.py | 3 +++ 1 file changed, 3 insertions(+) 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(): cookies = cookies.read().strip() logger.info(get_time() + ": {} Fetching from Intel...".format(str(count))) + with open('cookie') as cookies: + cookies = cookies.read().strip() + # fetch message per time while True: try: -- cgit v1.2.3