Skip to content

Commit bcf2b6a

Browse files
Fix format string error
Fixes #40
1 parent 40d6af3 commit bcf2b6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generic_parser/dict_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def _check_value(key, arg_dict, param_dict):
132132

133133
if param.choices and any([o for o in opt if o not in param.choices]):
134134
raise ArgumentError(f"All elements of '{key:s}' need to be one of "
135-
f"'{param.choices:}', instead the list was {opt:s}.\n"
135+
f"'{param.choices}', instead the list was {opt}.\n"
136136
f"Help: {param.help:s}")
137137

138138
elif param.choices and opt not in param.choices:

0 commit comments

Comments
 (0)