Use one-liner.
This commit is contained in:
@ -324,10 +324,7 @@ def main():
|
|||||||
print('Enter your GitHub username:')
|
print('Enter your GitHub username:')
|
||||||
username = request_user_input()
|
username = request_user_input()
|
||||||
|
|
||||||
if not ghe:
|
git_base = ghe if ghe else GITHUB_BASE_URL
|
||||||
git_base = GITHUB_BASE_URL
|
|
||||||
else:
|
|
||||||
git_base = ghe
|
|
||||||
|
|
||||||
cal = get_calendar(username, git_base)
|
cal = get_calendar(username, git_base)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user