Skip to content

Commit

Permalink
Variable initialized correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Fontecha Guadaño committed Mar 22, 2024
1 parent f00d0ec commit 7ebdcc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion inesdata_mov_datasets/sources/extract/emt.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,8 @@ async def get_emt(config: Settings):

logger.error(f"{errors_ld} errors in Line Detail")
logger.error(f"{errors_eta} errors in ETA, list of stops erroring: {list_stops_error}")

eta_dict_upload = {}

# Retry the failed petitions
if errors_eta > 0:
eta_dict_upload = {}
Expand Down

0 comments on commit 7ebdcc1

Please sign in to comment.