Skip to content

Commit

Permalink
change alls id by event_id
Browse files Browse the repository at this point in the history
  • Loading branch information
MateoLostanlen committed Oct 25, 2023
1 parent 48a6346 commit 123dcf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def update_live_alerts_data(
dict_images_url_live_alerts = ongoing_frame_urls.copy()
for event_id in ongoing_frame_urls.keys():
if not int(event_id) in list(live_events["id"]):
del dict_images_url_live_alerts[id]
del dict_images_url_live_alerts[event_id]

new_loaded_frames = list(live_alerts["id"].unique())

Expand Down

0 comments on commit 123dcf7

Please sign in to comment.