commit transaction before closing
This commit is contained in:
parent
07126e43a4
commit
663d9db8e7
|
@ -207,6 +207,7 @@ class HomeServer(object):
|
||||||
logger.info("Setting up.")
|
logger.info("Setting up.")
|
||||||
with self.get_db_conn() as conn:
|
with self.get_db_conn() as conn:
|
||||||
self.datastore = self.DATASTORE_CLASS(conn, self)
|
self.datastore = self.DATASTORE_CLASS(conn, self)
|
||||||
|
conn.commit()
|
||||||
logger.info("Finished setting up.")
|
logger.info("Finished setting up.")
|
||||||
|
|
||||||
def get_reactor(self):
|
def get_reactor(self):
|
||||||
|
|
Loading…
Reference in New Issue