Skip to content

Commit

Permalink
[fix] 调整扫描日志输出
Browse files Browse the repository at this point in the history
  • Loading branch information
mikualpha committed Jan 18, 2024
1 parent 204161b commit c001bdd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion search.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def search_card_obj_list(path_game_root: str, log: Callable[[str], None]) -> dic
if name not in card_obj_list:
card_obj_list[name] = file
except Exception as e:
log('Error: ' + str(e))
continue

if len(card_obj_list) >= len(card_obj_name):
Expand All @@ -44,5 +45,5 @@ def search_card_obj_list(path_game_root: str, log: Callable[[str], None]) -> dic
if len(card_obj_list) >= len(card_obj_name):
break

print(repr(card_obj_list))
log(repr(card_obj_list))
return card_obj_list

0 comments on commit c001bdd

Please sign in to comment.