Fix incomplete loading of dbschema.json

This commit is contained in:
shortcutme 2020-02-07 16:37:37 +01:00
parent 10c02c31c2
commit 8e79a7da63
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 1 additions and 0 deletions

View File

@ -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)