Commit 76b3253bc0c4d1b6ee797f0b42ca14cfe15bcd90

  • Tree SHA1: 1909e28
  • Parent SHA1: 1dece8e (Merge branch 'master' of git.pantoto.org:karnataka-hybrid-micro-devices-ltd-khmdl-website/khmdl-website)
  • raw diff | raw patch
Fix bug in last updated collection not being created
  
5858if siteMenu.find_one() == None:
5959 siteMenu.insert({'customMenu': False, 'menuOrder': [], 'html': ''})
6060
61if lastUpdated.find_one() == None:
62 lastUpdated.insert({'last_updated': datetime.utcnow()})
63
6164siteFooter = db['footer']
6265if siteFooter.find_one() == None:
6366 siteFooter.insert({'html': ''})