We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b3e633 commit 7ebc913Copy full SHA for 7ebc913
.travis.yml
@@ -2,6 +2,7 @@ language: python
2
3
python:
4
- "2.7"
5
+ - "3.4"
6
7
install:
8
- pip install coveralls
dj_elastictranscoder/views.py
@@ -18,7 +18,7 @@ def endpoint(request):
18
"""
19
20
try:
21
- data = json.loads(request.read())
+ data = json.loads(request.read().decode('utf-8'))
22
except ValueError:
23
return HttpResponseBadRequest('Invalid JSON')
24
0 commit comments