Skip to content

Commit c1a4ce9

Browse files
authored
Fix thumbnail directory creation logic
1 parent 940674e commit c1a4ce9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

backend/main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@
4343
path = os.path.dirname(DATABASE_PATH)
4444
os.makedirs(path, exist_ok=True)
4545

46-
thumbnail_path = os.path.dirname(THUMBNAIL_IMAGES_PATH)
47-
os.makedirs(thumbnail_path, exist_ok=True)
46+
os.makedirs(THUMBNAIL_IMAGES_PATH, exist_ok=True)
4847

4948

5049
@asynccontextmanager

0 commit comments

Comments
 (0)