From 1f288d503fd7b6901085915c01f76053ad5145ae Mon Sep 17 00:00:00 2001 From: Richard Mwewa <74001397+rly0nheart@users.noreply.github.com> Date: Wed, 25 Jan 2023 23:00:05 +0200 Subject: [PATCH] Update octosuite.py --- octosuite/octosuite.py | 1 - 1 file changed, 1 deletion(-) diff --git a/octosuite/octosuite.py b/octosuite/octosuite.py index 2b5c16b..9e50409 100644 --- a/octosuite/octosuite.py +++ b/octosuite/octosuite.py @@ -210,7 +210,6 @@ GitHub REST API documentation: https://docs.github.com/rest def get_email_from_contributor(username, repo, contributor): - json_output = {} response = requests.get(f"https://github.com/{username}/{repo}/commits?author={contributor}", auth=HTTPBasicAuth(username, '')).text latest_commit = re.search(rf'href="/{username}/{repo}/commit/(.*?)"', response)