* src/DbLoader.py: correct bug state -> dbstate



svn: r9681
This commit is contained in:
Benny Malengier
2008-01-02 11:11:27 +00:00
parent f81b0d2aef
commit 1c87642339
2 changed files with 4 additions and 1 deletions

View File

@@ -271,7 +271,7 @@ class DbLoader:
_("Could not open file: %s") % filename, str(msg))
except Errors.DbError, msg:
QuestionDialog.DBErrorDialog(str(msg.value))
self.state.no_database()
self.dbstate.no_database()
except Exception:
_LOG.error("Failed to open database.", exc_info=True)
return True