fix undefined variable name error in mako template

This commit is contained in:
Arthur Barrett
2013-05-06 14:48:51 -04:00
parent 04e75485ba
commit c5728fb036

View File

@@ -98,7 +98,7 @@
%if chapter is not None:
options.chapterNum = ${chapter};
%endif
%if anchor_id is not None:
%if anchor_id is not UNDEFINED and anchor_id is not None:
options.anchor_id = ${anchor_id};
%endif