better fix for prevention of the crasher
This commit is contained in:
parent
683d89389b
commit
563efc0335
|
@ -308,6 +308,7 @@ class Database:
|
||||||
self.saveActions = False if self.import_options['saveActions'] == False else True
|
self.saveActions = False if self.import_options['saveActions'] == False else True
|
||||||
|
|
||||||
if self.is_connected():
|
if self.is_connected():
|
||||||
|
if not self.wrongDbVersion:
|
||||||
self.get_sites()
|
self.get_sites()
|
||||||
self.connection.rollback() # make sure any locks taken so far are released
|
self.connection.rollback() # make sure any locks taken so far are released
|
||||||
#end def __init__
|
#end def __init__
|
||||||
|
|
Loading…
Reference in New Issue
Block a user