Skip to content

Commit

Permalink
fix: bot error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
latorc committed Apr 23, 2024
1 parent 3ddd9d5 commit 94441c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion MahjongCopilot.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ a = Analysis(
runtime_hooks=[],
excludes=[],
noarchive=False,
optimize=0,
)
pyz = PYZ(a.pure)

Expand Down
1 change: 1 addition & 0 deletions bot_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ def _create_bot(self):
self.is_loading_bot = True
self.bot = None
self.bot = get_bot(self.st)
self.game_exception = None
LOGGER.info("Created bot: %s. Supported Modes: %s", self.bot.name, self.bot.supported_modes)
except Exception as e:
LOGGER.warning("Failed to create bot: %s", e, exc_info=True)
Expand Down

0 comments on commit 94441c3

Please sign in to comment.