We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64ec073 commit 1725010Copy full SHA for 1725010
roundup/cgi/client.py
@@ -859,7 +859,11 @@ def determine_context(self, dre=re.compile(r'([^\d]+)0*(\d+)')):
859
860
# see if a template or messages are specified
861
template_override = ok_message = error_message = None
862
- for key in self.form:
+ try:
863
+ keys = self.form.keys()
864
+ except TypeError:
865
+ keys = ()
866
+ for key in keys:
867
if self.FV_TEMPLATE.match(key):
868
template_override = self.form[key].value
869
elif self.FV_OK_MESSAGE.match(key):
0 commit comments