Skip to content

Commit

Permalink
Merge pull request #4 from dignissimus/fix-non-stream-methods
Browse files Browse the repository at this point in the history
Remove cls=self.decoder from response.json() call in parse() method
  • Loading branch information
ZackClements authored Apr 9, 2021
2 parents 7f1dec2 + 8f146f1 commit a33272c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion berserk/formats.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def parse(self, response):
:return: response data
:rtype: JSON
"""
return response.json(cls=self.decoder)
return response.json()

def parse_stream(self, response):
"""Yield the parsed data from a stream response.
Expand Down

0 comments on commit a33272c

Please sign in to comment.