Skip to content

Commit 56056fc

Browse files
committed
added a raw flag that hangs onto the raw JSON response
1 parent 3a7f6e0 commit 56056fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

embedly/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def _get(self, version, method, url_or_urls, **kwargs):
123123
data = json.loads(content)
124124

125125
if kwargs.get('raw', False):
126-
data.raw = content
126+
data['raw'] = content
127127
else:
128128
data = {'type' : 'error',
129129
'error' : True,

0 commit comments

Comments
 (0)