convert integers to str to allow them to be exported

EmailTemplateFixes
Per-Erik Persson 2011-09-28 15:45:46 +02:00
parent 51207cc5c8
commit 17021b402d
1 changed files with 2 additions and 0 deletions

View File

@ -567,6 +567,8 @@ def answer_export(questionnaire, answers=None):
subject = answer.subject
row = [""] * len(headings)
ans = answer.split_answer()
if type(ans) == int:
ans = str(ans)
for choice in ans:
col = None
if type(choice) == list: