diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2020-04-24 21:57:32 +0200 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2020-04-24 21:57:32 +0200 |
commit | fbb7e1d07f20133732cfeab5887f8fee8f1f91ad (patch) | |
tree | 02b8c2b55c7741a78a5624c62130332166fbc9e5 | |
parent | Fix main thread exit condition (diff) | |
download | hchat-tg-bridge-master.tar.gz hchat-tg-bridge-master.zip |
-rwxr-xr-x | control.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -125,14 +125,14 @@ def botCrashed(signum, frame): log("=!= Bot crashed / lost connection. Retrying in %i seconds..."\ % config.RECONNECT_DELAY, suppress_console=False) - toTG("=!= Bot crashed / lost connection. Retrying in %i seconds..."\ - % config.RECONNECT_DELAY) + #toTG("=!= Bot crashed / lost connection. Retrying in %i seconds..."\ + # % config.RECONNECT_DELAY) time.sleep(config.RECONNECT_DELAY) log("Reconnecting...", suppress_console=False) - toTG("Reconnecting...") + #toTG("Reconnecting...") startHCBot() log("Reconnected!", suppress_console=False) - toTG("Reconnected!") + #toTG("Reconnected!") def kill(): """Debug command to test reconnect functionality""" |