diff options
author | Jinwei Zhao <[email protected]> | 2017-02-01 21:44:38 +0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2018-07-14 00:32:15 +0800 |
commit | 85aecde453a6b4790be2ad0d2ae6537aec56265f (patch) | |
tree | 7f4450d744084a24417d04fc001b4db3fd04d958 | |
parent | c71bb7495240a5c5ae306ea4e734ec3b2cc9edd6 (diff) | |
download | COMM2TG-85aecde453a6b4790be2ad0d2ae6537aec56265f.tar.gz |
update
-rwxr-xr-x | README.md | 6 | ||||
-rwxr-xr-x | bot.py | 2 |
2 files changed, 1 insertions, 7 deletions
@@ -36,9 +36,3 @@ sudo dpkg-reconfigure locales | |||
36 | ```bash | 36 | ```bash |
37 | python3 bot.py | 37 | python3 bot.py |
38 | ``` | 38 | ``` |
39 | |||
40 | ## TODO | ||
41 | |||
42 | + Robust error handle | ||
43 | |||
44 | + Use GAE OAuth instead of fetching cookie \ No newline at end of file | ||
@@ -252,6 +252,6 @@ if __name__ == '__main__': | |||
252 | while True: | 252 | while True: |
253 | try: | 253 | try: |
254 | main() | 254 | main() |
255 | except Exception as e: | 255 | except Exception: |
256 | send_message(bot, 'Main Unexpected error' + str(sys.exc_info()[0]) + " Line: " + str(inspect.currentframe().f_lineno), True) | 256 | send_message(bot, 'Main Unexpected error' + str(sys.exc_info()[0]) + " Line: " + str(inspect.currentframe().f_lineno), True) |
257 | time.sleep(3) \ No newline at end of file | 257 | time.sleep(3) \ No newline at end of file |