|
|
@@ -142,7 +142,7 @@ def generate_index(output_path, galleries): |
|
|
|
|
|
|
|
def generate_gallery(output_path, gallery): |
|
|
|
generate_gallery_index(output_path, gallery) |
|
|
|
generate_gallery_dir(output_path, gallery) |
|
|
|
generate_gallery_photos(output_path, gallery) |
|
|
|
|
|
|
|
|
|
|
|
def generate_gallery_index(output_path, gallery): |
|
|
@@ -165,7 +165,7 @@ def generate_gallery_index(output_path, gallery): |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
def generate_gallery_dir(output_path, gallery): |
|
|
|
def generate_gallery_photos(output_path, gallery): |
|
|
|
gallery_output_path = os.path.join(output_path, gallery["output_path"]) |
|
|
|
if not os.path.isdir(gallery_output_path): |
|
|
|
os.mkdir(gallery_output_path) |