From 3af9779d311873b7b7791f0b9dfc4a3a91c4cdb4 Mon Sep 17 00:00:00 2001 From: Michael Rice Date: Sun, 4 Aug 2013 20:05:48 -0500 Subject: [PATCH] fix issue when not using custom ghe --- gitfiti.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitfiti.py b/gitfiti.py index 4160c4c2b..eacd950cc 100755 --- a/gitfiti.py +++ b/gitfiti.py @@ -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: @@ -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: