Commit 2bded2dce11efc95545d025bb9e9c4e3a66942a5

Fix wrong key in menu dict
  • Diff rendering mode:
  • inline
  • side by side

mouchak/server.py

17siteContent = db['content']17siteContent = db['content']
18siteMenu = db['menu']18siteMenu = db['menu']
19if siteMenu.find_one() == None:19if siteMenu.find_one() == None:
20 siteMenu.insert({'customMenu': False, 'menuOrder': [], html: ''})
20 siteMenu.insert({'customMenu': False, 'menuOrder': [], 'html': ''})
2121
2222
23# handy reference to otherwise long name23# handy reference to otherwise long name