better fix for prevention of the crasher

This commit is contained in:
Steffen Schaumburg 2010-12-25 20:54:25 +01:00
parent 683d89389b
commit 563efc0335

View File

@ -308,6 +308,7 @@ class Database:
self.saveActions = False if self.import_options['saveActions'] == False else True
if self.is_connected():
if not self.wrongDbVersion:
self.get_sites()
self.connection.rollback() # make sure any locks taken so far are released
#end def __init__