ArgHandler: allow gramps -C create to use dbid database backend type

This commit is contained in:
Doug Blank 2015-08-07 18:22:24 -04:00
parent bc3dc4a516
commit 644fff5f18

View File

@ -228,7 +228,8 @@ class ArgHandler(object):
return db_path
elif create:
# create the tree here, and continue
db_path, title = self.dbman.create_new_db_cli(title=value)
dbid = config.get('behavior.database-backend')
db_path, title = self.dbman.create_new_db_cli(title=value, dbid=dbid)
return db_path
else:
self.__error( _('Error: Input Family Tree "%s" does not exist.\n'