diff --git a/utils/relic.py b/utils/relic.py index ba571c34..a54bfd84 100644 --- a/utils/relic.py +++ b/utils/relic.py @@ -436,6 +436,7 @@ def try_ocr_relic(self, equip_set_index:int = None, max_retries = 3) -> dict: 返回: :return result_data: 遗器数据包 """ + retry = 0 while True: # 视作偶发错误进行重试 try: data = self.ocr_relic(equip_set_index)