From 6d8069a643da843c7741ad8d6f822f8f4cd0f90a Mon Sep 17 00:00:00 2001 From: Alex Yao Date: Sat, 27 Aug 2016 21:53:13 -0700 Subject: [PATCH] Fix bug from #4822 --- pokecli.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pokecli.py b/pokecli.py index a5a71629a7..d82320a3b4 100644 --- a/pokecli.py +++ b/pokecli.py @@ -133,7 +133,9 @@ def get_commit_hash(): config, _ = init_config() if config.live_config_update_tasks_only: initialize_task(bot, config) - else: bot = initialize(config) + else: + bot = initialize(config) + bot = start_bot(bot,config) except KeyboardInterrupt: bot.event_manager.emit(