Skip to content

Commit

Permalink
Fix order of arguments to _decode_content
Browse files Browse the repository at this point in the history
  • Loading branch information
perlpunk committed Oct 26, 2021
1 parent 5955994 commit 8ef1a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openqa_review/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def _get(self, url, as_json=False): # pragma: no cover
msg = "Request to {} failed: {}".format(url, str(e))
log.warn(msg)
raise DownloadError(msg)
return self._decode_content(r.content.decode("utf-8"), url, as_json)
return self._decode_content(url, r.content.decode("utf-8"), as_json)

def _decode_content(self, url, raw, as_json=False):
try:
Expand Down

0 comments on commit 8ef1a48

Please sign in to comment.