aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinwei Zhao <[email protected]>2017-02-01 21:44:38 +0800
committerclarkzjw <[email protected]>2018-07-14 00:32:15 +0800
commit85aecde453a6b4790be2ad0d2ae6537aec56265f (patch)
tree7f4450d744084a24417d04fc001b4db3fd04d958
parentc71bb7495240a5c5ae306ea4e734ec3b2cc9edd6 (diff)
downloadCOMM2TG-85aecde453a6b4790be2ad0d2ae6537aec56265f.tar.gz
update
-rwxr-xr-xREADME.md6
-rwxr-xr-xbot.py2
2 files changed, 1 insertions, 7 deletions
diff --git a/README.md b/README.md
index 7797722..c597a86 100755
--- a/README.md
+++ b/README.md
@@ -36,9 +36,3 @@ sudo dpkg-reconfigure locales
36```bash 36```bash
37python3 bot.py 37python3 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
diff --git a/bot.py b/bot.py
index 10b1107..f1debb1 100755
--- a/bot.py
+++ b/bot.py
@@ -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
Powered by cgit v1.2.3 (git 2.41.0)