Skip to content

Commit e9a2f87

Browse files
committed
fix crash if the user does not override a formatter
1 parent beec135 commit e9a2f87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rechunk/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def argparse_func():
136136

137137
# Parse formatters
138138
formatters = {}
139-
for line in args.formatter:
139+
for line in args.formatter or []:
140140
if "=" not in line:
141141
continue
142142
idx = line.index("=")

0 commit comments

Comments
 (0)