Browse Source

Bugfix

pull/2/head
Noah Petherbridge 6 years ago
parent
commit
b33b1af480
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      rophako/model/photo.py

+ 2
- 0
rophako/model/photo.py 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",


Loading…
Cancel
Save