Skip to content

Commit

Permalink
Use one-liner.
Browse files Browse the repository at this point in the history
  • Loading branch information
homeworkprod committed Jun 5, 2016
1 parent f6727b2 commit 302e834
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions gitfiti.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,7 @@ def main():
print('Enter your GitHub username:')
username = request_user_input()

if not ghe:
git_base = GITHUB_BASE_URL
else:
git_base = ghe
git_base = ghe if ghe else GITHUB_BASE_URL

cal = get_calendar(username, git_base)

Expand Down

0 comments on commit 302e834

Please sign in to comment.