Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
fix bug created in last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
BobDotCom committed Aug 10, 2021
1 parent cce88ef commit a255699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion growstocks/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ async def ret_coro(resp_):
try:
rtrn_json = resp.json()
except:
raise RequestFailure('Request to api was unsuccessful: {0}'.format(resp.text()))
raise RequestFailure('Request to api was unsuccessful: {0}'.format(resp.text)
if not rtrn_json['success']:
raise RequestFailure('Request to api was unsuccessful: {0}'.format(rtrn_json))

Expand Down

0 comments on commit a255699

Please sign in to comment.