Commit 2bded2dce11efc95545d025bb9e9c4e3a66942a5
Fix wrong key in menu dict
| | | | 17 | siteContent = db['content'] | 17 | siteContent = db['content'] |
---|
18 | siteMenu = db['menu'] | 18 | siteMenu = db['menu'] |
---|
19 | if siteMenu.find_one() == None: | 19 | if siteMenu.find_one() == None: |
---|
20 | siteMenu.insert({'customMenu': False, 'menuOrder': [], html: ''}) | | siteMenu.insert({'customMenu': False, 'menuOrder': [], html: ''}) |
---|
| | 20 | siteMenu.insert({'customMenu': False, 'menuOrder': [], 'html': ''}) | 21 | | 21 | |
---|
22 | | 22 | |
---|
23 | # handy reference to otherwise long name | 23 | # handy reference to otherwise long name |
---|