Skip to content

Commit 25fa3b6

Browse files
committed
Merge branch 'main' of github.com:johnfkraus/react-lightbox-photo-album
2 parents 0c8490e + 931ea7e commit 25fa3b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/step01_add_dimensions_to_original_image_names.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
def rename_images_add_dimensions(start_dir, renamed_dir, test=False):
1616
if test:
1717
print('cwd =', os.getcwd())
18+
if not os.path.exists(start_dir):
19+
os.makedirs(start_dir)
1820
if not os.path.exists(renamed_dir):
1921
os.makedirs(renamed_dir)
2022
for filename in os.listdir(start_dir):

0 commit comments

Comments
 (0)