aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)