Skip to content

Commit

Permalink
fix: try_ocr_relic参数未初始化
Browse files Browse the repository at this point in the history
  • Loading branch information
weiduhuo committed Oct 12, 2023
1 parent 97b1d8a commit 6e4f90b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/relic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6e4f90b

Please sign in to comment.