Fix incomplete loading of dbschema.json
This commit is contained in:
parent
10c02c31c2
commit
8e79a7da63
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ class SiteStorage(object):
|
|||
|
||||
def getDbSchema(self):
|
||||
try:
|
||||
self.site.needFile("dbschema.json")
|
||||
schema = self.loadJson("dbschema.json")
|
||||
except Exception as err:
|
||||
raise Exception("dbschema.json is not a valid JSON: %s" % err)
|
||||
|
|
Loading…
Reference in a new issue