From 68be7fe522d5772276d9aa67882cb562d2f45385 Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Sun, 26 Sep 2021 10:55:20 +0200 Subject: [PATCH] fxconv: allow section specification from fxconv-metadata.txt --- fxconv/fxconv-main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fxconv/fxconv-main.py b/fxconv/fxconv-main.py index 917f148..967c5b9 100755 --- a/fxconv/fxconv-main.py +++ b/fxconv/fxconv-main.py @@ -168,6 +168,9 @@ def main(): if fnmatch.fnmatchcase(basename, wildcard): params.update(**p) + if "section" in params: + target["section"] = params["section"] + # In manual conversion modes, read parameters from the command-line else: params = parse_parameters(args)