fix issue when not using custom ghe

This commit is contained in:
Michael Rice
2013-08-04 20:05:48 -05:00
parent 2d4653aa21
commit 3af9779d31

View File

@ -253,7 +253,7 @@ def main():
ghe = raw_input("Enter nothing for https://github.com/ to be used: ") ghe = raw_input("Enter nothing for https://github.com/ to be used: ")
print 'Enter your github username:' print 'Enter your github username:'
username = raw_input(">") username = raw_input(">")
if ghe is None: if ghe is None or ghe == "":
git_base = "https://github.com/" git_base = "https://github.com/"
cal = get_calendar(username) cal = get_calendar(username)
else: else:
@ -300,7 +300,7 @@ def main():
image = IMAGES[image] image = IMAGES[image]
except: except:
image = IMAGES['kitty'] image = IMAGES['kitty']
if ghe is None: if ghe is None or ghe == "":
output = fake_it(image, get_start_date(), username, repo, offset, output = fake_it(image, get_start_date(), username, repo, offset,
m*match) m*match)
else: else: