diff --git a/lollipop/preprocessors.py b/lollipop/preprocessors.py index a8bcb9a..f2a5bca 100644 --- a/lollipop/preprocessors.py +++ b/lollipop/preprocessors.py @@ -168,7 +168,7 @@ def apply_filter_statement(name, fs): # apply operator match m["op"]: case "=" | "==" | "" as e: - if e == "": + if e == "" and type(val) == str: assert ( " " not in val ), "Do not use values with space <{val}> when using no operator (implicit 'equals'). (while parsing statement <{fs}> in filter {name})"