From f38da1b168ff834ca660293a706f5b74d70ae12f Mon Sep 17 00:00:00 2001 From: Trey Hunner Date: Wed, 21 Dec 2011 13:18:41 -0800 Subject: [PATCH] Prompt user for credentials when left unspecified --- settings.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/settings.py b/settings.py index 6379c45..99fa2d7 100644 --- a/settings.py +++ b/settings.py @@ -1,4 +1,10 @@ +import getpass + # Put your User/Pass in here! username='YourUsername' password='YourPassword' + +if username == 'YourUsername' and password == 'YourPassword': + username = raw_input('Github Username: ') + password = getpass.getpass('Github Password: ')