summaryrefslogtreecommitdiff
path: root/ishtar_common/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/forms.py')
-rw-r--r--ishtar_common/forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/forms.py b/ishtar_common/forms.py
index e7f73f2d9..18e32cd76 100644
--- a/ishtar_common/forms.py
+++ b/ishtar_common/forms.py
@@ -747,9 +747,9 @@ class QAForm(CustomForm, ManageOldType):
for v in kwargs['data'].getlist(k):
dct_choices = dict(self.fields[k].choices)
if v in dct_choices:
- values.append(dct_choices[v])
+ values.append(unicode(dct_choices[v]))
elif int(v) in dct_choices:
- values.append(dct_choices[int(v)])
+ values.append(unicode(dct_choices[int(v)]))
self.fields[k].rendered_value = mark_safe(
u" ; ".join(values))
if k not in self.REPLACE_FIELDS: