Skip to content

Commit

Permalink
fix crash if the user does not override a formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
antheas committed Aug 4, 2024
1 parent beec135 commit e9a2f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rechunk/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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("=")
Expand Down

0 comments on commit e9a2f87

Please sign in to comment.