Commit 690cbed82a8c440a47e9975edd88852dd7ca2981

Authored by Tássia Camões Araújo
1 parent 6ce4407a
Exists in master and in 1 other branch add_vagrant

Fixed bug with forma data encoding.

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/web/survey.py
... ... @@ -32,7 +32,7 @@ class Thanks:
32 32 with open("./submissions/%s/ident" % user_id,'w') as ident:
33 33 for key in ["name","email","country","public","comments"]:
34 34 if web_input.has_key(key):
35   - ident.write("%s: %s\n" % (key,web_input[key]))
  35 + ident.write("%s: %s\n" % (key,web_input[key].encode("utf-8")))
36 36 return render.thanks_id()
37 37  
38 38 class Package:
... ...