db can be specified in cmd line option again

This commit is contained in:
Matt Turnbull
2009-09-04 22:12:35 +01:00
parent cad5149c0e
commit b40132e961
3 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ class fpdb_db:
print "outdated or too new database version - please recreate tables"
self.wrongDbVersion=True
except:# _mysql_exceptions.ProgrammingError:
print "failed to read settings table - please recreate tables"
if database != ":memory:": print "failed to read settings table - please recreate tables"
self.wrongDbVersion=True
#end def connect