From 563efc0335154347ab02ccec931e7cf40e417298 Mon Sep 17 00:00:00 2001 From: Steffen Schaumburg Date: Sat, 25 Dec 2010 20:54:25 +0100 Subject: [PATCH] better fix for prevention of the crasher --- pyfpdb/Database.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyfpdb/Database.py b/pyfpdb/Database.py index b9786b16..fec54b92 100644 --- a/pyfpdb/Database.py +++ b/pyfpdb/Database.py @@ -308,7 +308,8 @@ class Database: self.saveActions = False if self.import_options['saveActions'] == False else True 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 #end def __init__