From 7938689f95d193a0aa07e2342f439152f92f9e8d Mon Sep 17 00:00:00 2001 From: shortcutme Date: Sat, 21 Jan 2017 23:00:37 +0100 Subject: [PATCH] Skip SQLite thread check for macOS compatibility --- src/Db/Db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Db/Db.py b/src/Db/Db.py index 8609a7f4..be702e22 100644 --- a/src/Db/Db.py +++ b/src/Db/Db.py @@ -55,7 +55,7 @@ class Db(object): self.log.debug("Created Db path: %s" % self.db_dir) if not os.path.isfile(self.db_path): self.log.debug("Db file not exist yet: %s" % self.db_path) - self.conn = sqlite3.connect(self.db_path) + self.conn = sqlite3.connect(self.db_path, check_same_thread=False) self.conn.row_factory = sqlite3.Row self.conn.isolation_level = None self.cur = self.getCursor()