Skip to content

Commit e574bbb

Browse files
author
Alex Schworer
committed
Pass response.content into ZencoderResponseError
1 parent 0d9fdbc commit e574bbb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

zencoder/core.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def process(self, response):
121121

122122
return Response(code, body, response.content, response)
123123
except ValueError:
124-
raise ZencoderResponseError(response, content)
124+
raise ZencoderResponseError(response, response.content)
125125

126126
class Zencoder(object):
127127
""" This is the entry point to the Zencoder API """
@@ -207,7 +207,6 @@ def live(self):
207207
"""
208208
Puts your account into live mode.
209209
"""
210-
211210
return self.put(self.base_url + '/live')
212211

213212
class Output(HTTPBackend):

0 commit comments

Comments
 (0)