Skip to content

Commit

Permalink
black format passed
Browse files Browse the repository at this point in the history
  • Loading branch information
hmaciasc committed Dec 4, 2023
1 parent e5ce66b commit e2d5d8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ipol_demo/modules/core/blobs/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,9 @@ def delete_vr_from_blob(blob_id: int) -> None:
blobs.remove_dirs(vr_folder)

# Delete old thumbnail
thumb_folder = os.path.join(settings.blobs_data_root, settings.thumb_dir, subdir)
thumb_folder = os.path.join(
settings.blobs_data_root, settings.thumb_dir, subdir
)
if os.path.isdir(thumb_folder):
thumb_files_in_dir = glob.glob(os.path.join(thumb_folder, blob_hash + ".*"))
if thumb_files_in_dir:
Expand Down

0 comments on commit e2d5d8c

Please sign in to comment.