diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2012-11-13 23:46:33 +0100 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2012-11-13 23:46:33 +0100 |
| commit | f26e2fa7883bed4432c97d5cf5b55d7faaa62556 (patch) | |
| tree | 6b6ac5a70a150e64f55d668b53816cd127a89d25 | |
| parent | fe8418059997cfa7881c8933e683b56ea70515f9 (diff) | |
| download | famille-flask-f26e2fa7883bed4432c97d5cf5b55d7faaa62556.tar.gz | |
Fix a unicode bug (I thought I had added this .encode() to solve another bug)
| -rw-r--r-- | famille.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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']) |
