7021: pass ArgHandler.user to import_new_db
reapply r22929 from trunk svn: r22933
This commit is contained in:
parent
0afdb2e361
commit
207ed2434c
@ -363,7 +363,7 @@ class ArgHandler(object):
|
|||||||
if not db_path:
|
if not db_path:
|
||||||
# Apparently it is not a database. See if it is a file that
|
# Apparently it is not a database. See if it is a file that
|
||||||
# can be imported.
|
# can be imported.
|
||||||
db_path, title = self.dbman.import_new_db(self.open_gui, None)
|
db_path, title = self.dbman.import_new_db(self.open_gui, self.user)
|
||||||
|
|
||||||
if db_path:
|
if db_path:
|
||||||
# Test if not locked or problematic
|
# Test if not locked or problematic
|
||||||
|
Loading…
Reference in New Issue
Block a user