From 206ecd0c0ff58f8f9f0960ae70f28c96ca44a9ca Mon Sep 17 00:00:00 2001 From: zmyme Date: Thu, 30 Jun 2022 23:12:57 +0800 Subject: [PATCH] bugfix --- find_recipe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/find_recipe.py b/find_recipe.py index c2a1306..59b49c0 100644 --- a/find_recipe.py +++ b/find_recipe.py @@ -132,7 +132,7 @@ if __name__ == '__main__': if len(luckycolor) < 3 or len(luckycolor) > 4: raise ValueError if len(luckycolor) == 4: - max_step = luckycolor[3] + max_step = int(luckycolor[3]) luckycolor = luckycolor[:3] except Exception: print('幸运色颜色格式错误qwq')