Commit 0964222c authored by 's avatar

the last change broke render()

parent 55d9456b
......@@ -10,7 +10,7 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__version__='$Revision: 1.8 $'[11:-2]
__version__='$Revision: 1.9 $'[11:-2]
from DT_Util import parse_params, name_param
......@@ -25,7 +25,7 @@ class ReturnTag:
self.expr = expr
def render(self, md):
if val is None:
if self.expr is None:
val = md[self.__name__]
else:
val = self.expr.eval(md)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment