7021: merge r22867 fix of #6863 to trunk

svn: r22929
This commit is contained in:
Vassilii Khachaturov 2013-08-29 12:13:26 +00:00
parent 94d0a21d08
commit 6336e35a29

View File

@ -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