Skip to content

Commit b127eac

Browse files
committed
create parent directories
1 parent dab24a2 commit b127eac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.0-develop1
1+
1.0.0-develop2

plex_image_cleanup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def get_resources(media):
245245
if mode == "move":
246246
destination_path = restore_dir / local_path.with_suffix(".jpg")
247247
msg = f"MOVE: {source_path} --> {destination_path}"
248-
destination_path.parent.mkdir(exist_ok=True)
248+
destination_path.parent.mkdir(parents=True, exist_ok=True)
249249
source_path.rename(destination_path)
250250
elif mode == "remove":
251251
msg = f"REMOVE: {source_path}"

0 commit comments

Comments
 (0)