split databases

This commit is contained in:
mickael
2019-01-10 22:20:09 +00:00
parent b85cb863ba
commit 4c6a83373f
5 changed files with 47 additions and 19 deletions

View File

@@ -216,7 +216,7 @@ class Proxywatchd():
while not self.stopped.is_set(): time.sleep(0.1)
def _prep_db(self):
self.mysqlite = mysqlite.mysqlite(config.common.database, str)
self.mysqlite = mysqlite.mysqlite(config.watchd.database, str)
def _close_db(self):
if self.mysqlite:
self.mysqlite.close()