Skip to content

Commit

Permalink
fix : event config update error
Browse files Browse the repository at this point in the history
  • Loading branch information
pur1fying committed Aug 26, 2024
1 parent 26c5230 commit 5b2e1d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion window.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def check_event_config(dir_path='./default_config', server="CN"):
exist = False
for j in range(0, len(data)):
if data[j]['func_name'] == default_event_config[i]['func_name']:
for k in range(0, len(default_event_config[i]['daily_reset'])):
for k in range(0, len(data[i]['daily_reset'])):
if len(data[j]['daily_reset'][k]) != 3:
data[j]['daily_reset'][k] = [0, 0, 0]
data[j] = check_single_event(default_event_config[i], data[j])
Expand Down

0 comments on commit 5b2e1d2

Please sign in to comment.