Skip to content

Commit

Permalink
Prefer single quotes for string literals.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Worrell committed Apr 2, 2021
1 parent 463944a commit 7a1809d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/service/data_svc.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ def _delete_directory_contents(path):
return

if not os.path.isdir(path):
raise ValueError(f"Input path must be a directory. Received {path}")
raise ValueError(f'Input path must be a directory. Received {path}')

for path in glob.glob(f"{path}/*"):
for path in glob.glob(f'{path}/*'):
if os.path.isdir(path):
shutil.rmtree(path)
else:
Expand Down

0 comments on commit 7a1809d

Please sign in to comment.