commit transaction before closing

This commit is contained in:
Neil Johnson 2018-10-24 17:17:30 +01:00
parent 07126e43a4
commit 663d9db8e7

View file

@ -207,6 +207,7 @@ class HomeServer(object):
logger.info("Setting up.")
with self.get_db_conn() as conn:
self.datastore = self.DATASTORE_CLASS(conn, self)
conn.commit()
logger.info("Finished setting up.")
def get_reactor(self):