Skip to content

Commit 26ba507

Browse files
committed
default value for GH_ENTERPRISE_URL
1 parent bfc9bc7 commit 26ba507

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
@@ -15,7 +15,7 @@
1515
load_dotenv(dotenv_path)
1616

1717
# Auth to GitHub.com
18-
ghe = os.getenv("GH_ENTERPRISE_URL").strip()
18+
ghe = os.getenv("GH_ENTERPRISE_URL", default="").strip()
1919
if ghe:
2020
gh = github3.github.GitHubEnterprise(ghe, token=os.getenv("GH_TOKEN"))
2121
else:

0 commit comments

Comments
 (0)