Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
khelfen committed Sep 26, 2022
1 parent 298801f commit 79030c2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions edisgo/io/electromobility_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,7 @@ def rd_csv(file):
try:
return pd.read_csv(file[1]).assign(ags=ags, car_id=car_id)
except Exception:
logger.warning(
f"File '{str(file[1]).split('/')[-1]}' couldn't be read and is skipped."
)
logger.warning(f"File '{file[1]}' couldn't be read and is skipped.")

return pd.DataFrame()

Expand Down

0 comments on commit 79030c2

Please sign in to comment.