This repository was archived by the owner on Oct 29, 2023. It is now read-only.
Bot does not stop with Ctrl+C? #27
Open
Description
Hello,
I have the typical loop in my file:
def main():
bot_controller = defineBot(bot_config)
while True:
try:
bot_controller.executeBot()
except KeyboardInterrupt:
return
sleep(15)
However, when I hit ctrl+c the terminal appears to react but not actually stop the program:
Am I misunderstanding something?
Thanks
Metadata
Metadata
Assignees
Labels
No labels