This commit is contained in:
Noah 2014-08-26 19:17:21 -07:00
parent 8f565f3286
commit b33b1af480

View File

@ -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",