From 5b2f52956f231365cc2e269610c6349d90d2fa93 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Mon, 20 Apr 2020 00:42:41 +0200 Subject: Remove prompt for Dockerization --- control.py | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/control.py b/control.py index f70a8e1..10a259d 100755 --- a/control.py +++ b/control.py @@ -211,12 +211,18 @@ if __name__ == "__main__": try: startTGBot() startHCBot() - while not should_quit: - cmd = input("> ") - if not cmd in COMMANDS_CLI: - print("Unknown command!") - else: - COMMANDS_CLI[cmd]() + + print("started bots") + print("bridging ...") + while True: + pass + + # while not should_quit: + # cmd = input("> ") + # if not cmd in COMMANDS_CLI: + # print("Unknown command!") + # else: + # COMMANDS_CLI[cmd]() except (KeyboardInterrupt, EOFError) as e: print("Interrupt received. Shutting down...") -- cgit v1.2.1