Skip to content

Commit

Permalink
Update epanet.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariosmsk committed Mar 28, 2024
1 parent 18f0479 commit 126883c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epyt/epanet.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ def safe_delete(file):
except Exception as e:
print(f"Could not delete {file}: {e}")
else:
if os.path.exists(file_path):
if os.path.exists(file):
try:
try:
os.unlink(rf"{file}")
Expand Down

0 comments on commit 126883c

Please sign in to comment.