Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 16a9d7d

Browse files
author
Kotsias, Panagiotis-Christos
committed
Status to int
1 parent c4a4e5a commit 16a9d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etherscan/utils/parsing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def _get_content(response: requests.Response):
99
@staticmethod
1010
def get_status(response: requests.Response):
1111
c = ResponseParser._get_content(response)
12-
return c["status"]
12+
return int(c["status"])
1313

1414
@staticmethod
1515
def get_message(response: requests.Response):

0 commit comments

Comments
 (0)