From 1d84a78b31f7e9d9faa33a01f472bcc7f450a388 Mon Sep 17 00:00:00 2001 From: pro-bono Date: Tue, 13 Nov 2018 00:01:38 +0100 Subject: [PATCH] Compatibility with Python 2.6 --- module/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/module.py b/module/module.py index c44143d..0f7fd4c 100644 --- a/module/module.py +++ b/module/module.py @@ -211,7 +211,7 @@ class INT, self.execute("CREATE INDEX IF NOT EXISTS logs_time ON %s (time)" % table_name) self.execute("CREATE INDEX IF NOT EXISTS logs_host_name ON %s (host_name)" % table_name) - self.execute("PRAGMA journal_mode={}".format(self.journal_mode)) + self.execute("PRAGMA journal_mode={0}".format(self.journal_mode)) self.commit() def commit_and_rotate_log_db(self):