Skip to content

Commit

Permalink
corrected typo-induced error
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederickDeny committed Feb 14, 2024
1 parent 5fbf4ef commit bc36d44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e4s_cl/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def parse_bool(value, additional_true=None, additional_false=None):
def empty_dir(path: Path):
for file_path in path.iterdir():
try:
if file_path.is_file() or file_path.is_symlink(file_path):
if file_path.is_file() or file_path.is_symlink():
file_path.unlink()
elif file_path.isdir():
file_path.rmdir()
Expand Down

0 comments on commit bc36d44

Please sign in to comment.