|
@@ -62,7 +62,7 @@ if __name__ == '__main__':
|
|
|
if (minutes_to_go < 20 and minutes_to_go % 5 == 0 and minutes_to_go != 0) or minutes_to_go == 1:
|
|
if (minutes_to_go < 20 and minutes_to_go % 5 == 0 and minutes_to_go != 0) or minutes_to_go == 1:
|
|
|
temp_status_json, _ = model.get_json_file(player_id)
|
|
temp_status_json, _ = model.get_json_file(player_id)
|
|
|
if 'alert' in temp_status_json:
|
|
if 'alert' in temp_status_json:
|
|
|
- alerts = old_status['alert']
|
|
|
|
|
|
|
+ alerts = temp_status_json['alert']
|
|
|
else:
|
|
else:
|
|
|
alerts = {'15': False, '10': False, '5': False, '1': False}
|
|
alerts = {'15': False, '10': False, '5': False, '1': False}
|
|
|
if not alerts[str(minutes_to_go)]:
|
|
if not alerts[str(minutes_to_go)]:
|