* src/ArgHandler.py (ArgHandler.cl_export): Properly expand filename.
* src/GrampsDb/_WriteGrdb.py (exportData): Use placeholder if callback is None. svn: r7042
This commit is contained in:
@@ -543,6 +543,7 @@ class ArgHandler:
|
||||
Try to write into filename using the format.
|
||||
Any errors will cause the os._exit(1) call.
|
||||
"""
|
||||
filename = os.path.abspath(os.path.expanduser(filename))
|
||||
if format == 'grdb':
|
||||
try:
|
||||
GrampsDb.gramps_db_writer_factory(const.app_gramps)(
|
||||
|
Reference in New Issue
Block a user