From d5e9cc22734fddd21617b7f5adac39b8920fd8a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Fri, 4 Nov 2022 14:13:55 +0100 Subject: [PATCH] camera_name_date: formatting pass --- config/scripts/camera_name_date | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/scripts/camera_name_date b/config/scripts/camera_name_date index eed88e3..0001baa 100755 --- a/config/scripts/camera_name_date +++ b/config/scripts/camera_name_date @@ -67,8 +67,8 @@ def main(args: argparse.Namespace) -> None: new_filename = ( f"{m['Y']}-{m['M']}-{m['D']}_" f"{m['h']}-{m['m']}-{m['s']}" - f"{m.get('dup', '')}" - f"{m.get('spec', '')}" + f"{m.get('dup') or ''}" + f"{m.get('spec') or ''}" f"{args.suffix}" f".{m['ext']}" )