Skip to content
This repository was archived by the owner on Oct 17, 2023. It is now read-only.

Commit dcdc95f

Browse files
committed
Merge pull request #11 from avsd/v3
Make Python 3 compatible: "except" notation
2 parents 3902e39 + 634a5dd commit dcdc95f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hellosign_sdk/utils/request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def _get_json_response(self, resp):
173173
text = resp.text.strip('\n')
174174
if len(text) > 0:
175175
return json.loads(text)
176-
except ValueError, e:
176+
except ValueError as e:
177177
if self.debug:
178178
print("Could not decode JSON response: \"%s\"" % resp.text)
179179
raise e

0 commit comments

Comments
 (0)