From feb9538d1c5ad6569232e5900393befb8ec1a57e Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Sun, 27 Feb 2022 09:50:25 -0800 Subject: [PATCH] Fix for --load-config, #643 --- osxphotos/_version.py | 2 +- osxphotos/cli/export.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/osxphotos/_version.py b/osxphotos/_version.py index 055a7cdc..f3f8988c 100644 --- a/osxphotos/_version.py +++ b/osxphotos/_version.py @@ -1,3 +1,3 @@ """ version info """ -__version__ = "0.47.1" +__version__ = "0.47.2" diff --git a/osxphotos/cli/export.py b/osxphotos/cli/export.py index 2261a46e..a4c12504 100644 --- a/osxphotos/cli/export.py +++ b/osxphotos/cli/export.py @@ -870,7 +870,6 @@ def export( export_as_hardlink = cfg.export_as_hardlink export_by_date = cfg.export_by_date exportdb = cfg.exportdb - ramdb = cfg.ramdb external_edit = cfg.external_edit favorite = cfg.favorite filename_template = cfg.filename_template @@ -937,6 +936,7 @@ def export( preview_suffix = cfg.preview_suffix query_eval = cfg.query_eval query_function = cfg.query_function + ramdb = cfg.ramdb regex = cfg.regex replace_keywords = cfg.replace_keywords report = cfg.report @@ -957,6 +957,7 @@ def export( slow_mo = cfg.slow_mo strip = cfg.strip time_lapse = cfg.time_lapse + timestamp = cfg.timestamp title = cfg.title to_date = cfg.to_date to_time = cfg.to_time @@ -971,7 +972,7 @@ def export( xattr_template = cfg.xattr_template # config file might have changed verbose - VERBOSE = bool(verbose) + verbose_ = verbose_print(verbose, timestamp) verbose_(f"Loaded options from file {load_config}") verbose_(f"osxphotos version {__version__}")