Browse Source

Rename generate_gallery_dir so it's clearer

master
Marien Fressinaud 6 years ago
parent
commit
e0bfee5c0b
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      boop.py

+ 2
- 2
boop.py View File



def generate_gallery(output_path, gallery): def generate_gallery(output_path, gallery):
generate_gallery_index(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): 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"]) gallery_output_path = os.path.join(output_path, gallery["output_path"])
if not os.path.isdir(gallery_output_path): if not os.path.isdir(gallery_output_path):
os.mkdir(gallery_output_path) os.mkdir(gallery_output_path)

Loading…
Cancel
Save