Skip to content

Commit a797d6a

Browse files
author
Richard Jones
committed
bugfix in boolean templating
1 parent 856804e commit a797d6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/cgi/templating.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ class BooleanHTMLProperty(HTMLProperty):
831831
def plain(self):
832832
''' Render a "plain" representation of the property
833833
'''
834-
if self.value is None:
834+
if self._value is None:
835835
return ''
836836
return self._value and "Yes" or "No"
837837

0 commit comments

Comments
 (0)