We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5a7fcf commit 6b3bc61Copy full SHA for 6b3bc61
webstruct/features/global_features.py
@@ -99,4 +99,5 @@ def _add_pattern_features(feature_dicts, pattern, out_value, missing_value, sepa
99
100
# FIXME: there should be a cleaner/faster way
101
if not all(v == out_value for v in values):
102
+ values = [str(v) if type(v) == bool else v for v in values]
103
featdict[separator.join(keys)] = separator.join(values)
0 commit comments