From a2556992c0d299a1bcc08dbf6c951bb03cf25110 Mon Sep 17 00:00:00 2001 From: BobDotCom Date: Tue, 10 Aug 2021 14:41:54 -0500 Subject: [PATCH] fix bug created in last commit --- growstocks/wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/growstocks/wrapper.py b/growstocks/wrapper.py index b40ebc2..22f3095 100644 --- a/growstocks/wrapper.py +++ b/growstocks/wrapper.py @@ -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))