aboutsummaryrefslogtreecommitdiffstats
path: root/famille.py
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2012-11-13 23:46:33 +0100
committerThibaut Horel <thibaut.horel@gmail.com>2012-11-13 23:46:33 +0100
commitf26e2fa7883bed4432c97d5cf5b55d7faaa62556 (patch)
tree6b6ac5a70a150e64f55d668b53816cd127a89d25 /famille.py
parentfe8418059997cfa7881c8933e683b56ea70515f9 (diff)
downloadfamille-flask-f26e2fa7883bed4432c97d5cf5b55d7faaa62556.tar.gz
Fix a unicode bug (I thought I had added this .encode() to solve another bug)
Diffstat (limited to 'famille.py')
-rw-r--r--famille.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/famille.py b/famille.py
index fd7893c..1f0cb10 100644
--- a/famille.py
+++ b/famille.py
@@ -183,7 +183,7 @@ def edit_user():
error=error)
except KeyError:
pass
- args = tuple(request.form[key].encode("utf8") for key in \
+ args = tuple(request.form[key] for key in \
['email', 'phone', 'birthday', 'nameday', 'address_line1', \
'address_line2', 'address_city_line', 'timezone'])
args += ("notify" in request.form, session['user_id'])