Bladeren bron

Rename generate_gallery_dir so it's clearer

master
Marien Fressinaud 6 jaren geleden
bovenliggende
commit
e0bfee5c0b
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2
    2
      boop.py

+ 2
- 2
boop.py Bestand weergeven

@@ -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)

Laden…
Annuleren
Opslaan