浏览代码

Bugfix

pull/2/head
父节点
当前提交
b33b1af480
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      rophako/model/photo.py

+ 2
- 0
rophako/model/photo.py 查看文件

@@ -514,6 +514,8 @@ def process_photo(form, filename):
# Update the photo data.
if not album in index["albums"]:
index["albums"][album] = {}
if not "settings" in index:
index["settings"] = dict()
if not album in index["settings"]:
index["settings"][album] = {
"format": "classic",


正在加载...
取消
保存