Skip to content

Commit bfc9bc7

Browse files
committed
variable reuse
1 parent b358869 commit bfc9bc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crawler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# Auth to GitHub.com
1818
ghe = os.getenv("GH_ENTERPRISE_URL").strip()
1919
if ghe:
20-
gh = github3.github.GitHubEnterprise(os.getenv("GH_ENTERPRISE_URL"), token=os.getenv("GH_TOKEN"))
20+
gh = github3.github.GitHubEnterprise(ghe, token=os.getenv("GH_TOKEN"))
2121
else:
2222
gh = github3.login(token=os.getenv("GH_TOKEN"))
2323

0 commit comments

Comments
 (0)