forked from openlp/openlp
Fix exit for non Sqlite Databases
This commit is contained in:
parent
9fa384b57f
commit
132c678569
@ -294,4 +294,5 @@ class Manager(object):
|
|||||||
"""
|
"""
|
||||||
if self.is_dirty:
|
if self.is_dirty:
|
||||||
engine = create_engine(self.db_url)
|
engine = create_engine(self.db_url)
|
||||||
|
if self.db_url.startswith(u'sqlite'):
|
||||||
engine.execute("vacuum")
|
engine.execute("vacuum")
|
||||||
|
Loading…
Reference in New Issue
Block a user