camera_name_date: formatting pass

This commit is contained in:
Geoffrey Frogeye 2022-11-04 14:13:55 +01:00
parent 4030606ec8
commit d5e9cc2273
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8

View file

@ -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']}"
)