From d5de069c331d87bff4e4da0c35f016c69908a982 Mon Sep 17 00:00:00 2001 From: NateScarlet Date: Sun, 21 Aug 2022 18:09:44 +0800 Subject: [PATCH] fix: wrong logging format close #350 --- auto_derby/single_mode/race/game_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_derby/single_mode/race/game_data.py b/auto_derby/single_mode/race/game_data.py index f933dcea..e15c98ae 100644 --- a/auto_derby/single_mode/race/game_data.py +++ b/auto_derby/single_mode/race/game_data.py @@ -272,7 +272,7 @@ def _find_by_race_menu_item(ctx: Context, img: PIL.Image.Image) -> Iterator[Race yield i match_count += 1 if not match_count: - app.log.image("no race match: %s" % full_spec, spec_img, level=app.ERROR) + app.log.image("no race match: %s" % (full_spec,), spec_img, level=app.ERROR) raise ValueError("_find_by_race_menu_item: no race match spec: %s", full_spec)