Use one-liner.

This commit is contained in:
Jochen Kupperschmidt
2016-06-05 23:43:46 +02:00
parent f6727b2555
commit 302e83416d

View File

@ -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)