Skip to content

Commit

Permalink
fix issue when not using custom ghe
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Rice committed Aug 5, 2013
1 parent 2d4653a commit 3af9779
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gitfiti.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def main():
ghe = raw_input("Enter nothing for https://github.com/ to be used: ")
print 'Enter your github username:'
username = raw_input(">")
if ghe is None:
if ghe is None or ghe == "":
git_base = "https://github.com/"
cal = get_calendar(username)
else:
Expand Down Expand Up @@ -300,7 +300,7 @@ def main():
image = IMAGES[image]
except:
image = IMAGES['kitty']
if ghe is None:
if ghe is None or ghe == "":
output = fake_it(image, get_start_date(), username, repo, offset,
m*match)
else:
Expand Down

0 comments on commit 3af9779

Please sign in to comment.