Skip to content

Commit ee719d9

Browse files
author
Alexander Smishlajev
committed
fix handling of invalid interval input
(similar to [SF#1102165] reported for date input)
1 parent 78cc499 commit ee719d9

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
@@ -1526,7 +1526,7 @@ def __init__(self, client, classname, nodeid, prop, name, value,
15261526
anonymous=0):
15271527
HTMLProperty.__init__(self, client, classname, nodeid, prop,
15281528
name, value, anonymous)
1529-
if self._value:
1529+
if self._value and not isinstance(self._value, (str, unicode)):
15301530
self._value.setTranslator(self._client.translator)
15311531

15321532
def plain(self):

0 commit comments

Comments
 (0)