From 132c67856939276238e26ebd60db60235cc3fcdb Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Sun, 28 Nov 2010 15:20:53 +0000 Subject: [PATCH] Fix exit for non Sqlite Databases --- openlp/core/lib/db.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openlp/core/lib/db.py b/openlp/core/lib/db.py index 0dc138abc..8afa02111 100644 --- a/openlp/core/lib/db.py +++ b/openlp/core/lib/db.py @@ -294,4 +294,5 @@ class Manager(object): """ if self.is_dirty: engine = create_engine(self.db_url) - engine.execute("vacuum") + if self.db_url.startswith(u'sqlite'): + engine.execute("vacuum")