瀏覽代碼

Rename generate_gallery_dir so it's clearer

master
Marien Fressinaud 6 年之前
父節點
當前提交
e0bfee5c0b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      boop.py

+ 2
- 2
boop.py 查看文件

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

Loading…
取消
儲存