修复报错

This commit is contained in:
浪子
2024-12-27 16:24:49 +08:00
parent 3c795186e2
commit cae47fe40e
35 changed files with 5 additions and 3202 deletions
+2 -2
View File
@@ -4,8 +4,8 @@ from jinja2 import Template
# 定义图片目录
photos_dir = 'photos' # 原始图片目录
thumb_dir = 'index/images/thumbs' # 缩略图目录
full_dir = 'index/images/fulls' # 原图目录
thumb_dir = 'images/thumbs' # 缩略图目录
full_dir = 'images/fulls' # 原图目录
# 创建缩略图和原图目录
os.makedirs(thumb_dir, exist_ok=True)