From b3731527feb1f5d7410cc0cfd4a4ea726ca7cb97 Mon Sep 17 00:00:00 2001 From: gau1991 Date: Tue, 10 Feb 2015 19:54:01 +0530 Subject: [PATCH] Better setup handling --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.py b/setup.py index 88863ee6..a7f5a3f3 100644 --- a/setup.py +++ b/setup.py @@ -39,6 +39,10 @@ except Exception as e: print("EasyEngine (ee) will NEVER send your information across") ee_user = input("Enter your name: ") + while ee_user is "": + print("Name not Valid, Please enter again") + ee_user = input("Enter your name: ") + ee_email = input("Enter your email: ") while not re.match(r"^[A-Za-z0-9\.\+_-]+@[A-Za-z0-9\._-]+\.[a-zA-Z]*$",