From cc25c40406caa238b52f86b463c9660ae5d6178a Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Mon, 17 Apr 2017 10:42:11 -0400 Subject: [PATCH] strip whitespace from beginning and end of client id/secret --- src/gam.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gam.py b/src/gam.py index ca48a0b9..83d0cca6 100755 --- a/src/gam.py +++ b/src/gam.py @@ -6780,9 +6780,9 @@ and accept the Terms of Service (ToS). As soon as you've accepted the ToS popup, 4. Copy your "client ID" value. ''' % console_credentials_url - client_id = raw_input(u'Enter your Client ID: ') + client_id = raw_input(u'Enter your Client ID: ').strip() print u'\nNow go back to your browser and copy your client secret.' - client_secret = raw_input(u'Enter your Client Secret: ') + client_secret = raw_input(u'Enter your Client Secret: ').strip() client_valid = _checkClientAndSecret(simplehttp, client_id, client_secret) if client_valid: break