ArgHandler: allow gramps -C create to use dbid database backend type
This commit is contained in:
parent
bc3dc4a516
commit
644fff5f18
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user