diff --git a/src/rechunk/__main__.py b/src/rechunk/__main__.py index 1c24ea5..0a2594b 100644 --- a/src/rechunk/__main__.py +++ b/src/rechunk/__main__.py @@ -136,7 +136,7 @@ def argparse_func(): # Parse formatters formatters = {} - for line in args.formatter: + for line in args.formatter or []: if "=" not in line: continue idx = line.index("=")