diff --git a/pyfpdb/Configuration.py b/pyfpdb/Configuration.py index d174e5da..f2371aa1 100755 --- a/pyfpdb/Configuration.py +++ b/pyfpdb/Configuration.py @@ -398,7 +398,8 @@ class Config: if self.db_selected is None or db.db_selected: self.db_selected = db.db_name self.supported_databases[db.db_name] = db - + #TODO: if the user may passes '' (empty string) as database name via command line, his choice is ignored + # when we parse the xml we allow for ''. there has to be a decission if to allow '' or not if dbname and dbname in self.supported_databases: self.db_selected = dbname #NOTE: fpdb can not handle the case when no database is defined in xml, so we throw an exception for now