pretty print DB
This commit is contained in:
parent
b6e9875977
commit
11d92b2139
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class EventModel(object):
|
|||
def reload(self):
|
||||
if self.db is not None:
|
||||
self.db.close()
|
||||
self.db = TinyDB(self.uri)
|
||||
self.db = TinyDB(self.uri, indent=2)
|
||||
self.actions = self.db.table('actions')
|
||||
self.alarms = self.db.table('alarms')
|
||||
|
||||
|
|
Loading…
Reference in a new issue