diff --git a/src/calibre/utils/formatter.py b/src/calibre/utils/formatter.py index a791214c37..2e1844629e 100644 --- a/src/calibre/utils/formatter.py +++ b/src/calibre/utils/formatter.py @@ -538,6 +538,7 @@ class _Interpreter(object): for expr in prog.expression_list: if v := self.expr(expr): return v + return '' NODE_OPS = { Node.NODE_IF: do_node_if,