aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2020-04-20 00:49:39 +0200
committerNao Pross <naopross@thearcway.org>2020-04-20 00:49:39 +0200
commit5cad091cd917d54365430b5ff9d727274d90b725 (patch)
treecaffca9bc7c3725d60a55e4feee88732b30b4b3b
parentRemove prompt for Dockerization (diff)
downloadhchat-tg-bridge-5cad091cd917d54365430b5ff9d727274d90b725.tar.gz
hchat-tg-bridge-5cad091cd917d54365430b5ff9d727274d90b725.zip
Fix main thread exit condition
-rwxr-xr-xcontrol.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/control.py b/control.py
index 10a259d..0215655 100755
--- a/control.py
+++ b/control.py
@@ -214,7 +214,7 @@ if __name__ == "__main__":
print("started bots")
print("bridging ...")
- while True:
+ while not should_quit:
pass
# while not should_quit: