diff options
author | Jinwei Zhao <[email protected]> | 2017-01-31 21:41:01 +0800 |
---|---|---|
committer | Jinwei Zhao <[email protected]> | 2017-02-01 21:42:12 +0800 |
commit | e72690105ff9293d5a0a6db38647c292afdb618e (patch) | |
tree | 8aa763fb65a9efd571d8dcb3f0fb8f4d308494d0 | |
parent | 89d610250ff7261f219866be4f00f3cffe5e9d9b (diff) | |
download | COMM2TG-e72690105ff9293d5a0a6db38647c292afdb618e.tar.gz |
modify timeout
-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: |