diff --git a/wmibench/io.py b/wmibench/io.py index 32af835..5f62681 100644 --- a/wmibench/io.py +++ b/wmibench/io.py @@ -148,7 +148,7 @@ def convert_children(op): return convert_children("+") if expression.is_minus(): return convert_children("-") - if expression.is_exp(): + if hasattr(expression, "is_exp") and expression.is_exp(): return convert_children("exp") if expression.is_ite(): return convert_children("ite")