Skip to content
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
@Jsalaz1989

Description

@Jsalaz1989

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:
image

Am I misunderstanding something?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions