diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2015-01-21 14:07:00 +0100 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2015-03-03 22:22:46 +0100 |
commit | 4f0ad9e442e64f69d420dea4d737805eefaaf981 (patch) | |
tree | 8625aca6c0313243aab5143df916df400edc4385 /pyaggr3g470r/views/views.py | |
parent | first implementation of fetchable feeds (diff) | |
download | newspipe-4f0ad9e442e64f69d420dea4d737805eefaaf981.tar.gz newspipe-4f0ad9e442e64f69d420dea4d737805eefaaf981.tar.bz2 newspipe-4f0ad9e442e64f69d420dea4d737805eefaaf981.zip |
continuing refacto
Diffstat (limited to 'pyaggr3g470r/views/views.py')
-rw-r--r-- | pyaggr3g470r/views/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/views/views.py b/pyaggr3g470r/views/views.py index 543f69b7..053bb473 100644 --- a/pyaggr3g470r/views/views.py +++ b/pyaggr3g470r/views/views.py @@ -164,7 +164,7 @@ def login(): @app.route('/api/csrf', methods=['GET']) def get_csrf(): try: - data = json.loads(request.data) + data = json.loads(request.data.decode()) except ValueError: return Response(status=400) email = data.get('email') |