better fix for prevention of the crasher
This commit is contained in:
parent
683d89389b
commit
563efc0335
|
@ -308,7 +308,8 @@ 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():
|
||||||
self.get_sites()
|
if not self.wrongDbVersion:
|
||||||
|
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