diff options
author | Siddharth Rakesh <sidrakesh@google.com> | 2015-06-11 20:59:14 -0700 |
---|---|---|
committer | Siddharth Rakesh <sidrakesh@google.com> | 2015-06-11 20:59:14 -0700 |
commit | 7b55362e0fcb55f42240c1164678709e50504b60 (patch) | |
tree | 6399bc3767eb9dcd1d5e3ccc5547448f443c0f4c /test/cpp/qps | |
parent | b2b5b9a06946ca5b9cad759f7d5731b255b25e90 (diff) |
updated auth script
Diffstat (limited to 'test/cpp/qps')
-rwxr-xr-x | test/cpp/qps/run_auth_test.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/cpp/qps/run_auth_test.py b/test/cpp/qps/run_auth_test.py index 75bdab22a4..06b064cad0 100755 --- a/test/cpp/qps/run_auth_test.py +++ b/test/cpp/qps/run_auth_test.py @@ -115,7 +115,11 @@ def main(): if not os.path.exists(ACCESS_TOKENS_DIR): os.makedirs(ACCESS_TOKENS_DIR) - email = sys.argv[2] + if len(sys.argv) > 2: + email = sys.argv[2] + else: + email = raw_input('Enter your e-mail id: ') + email = email.split('@')[0].lower() userId = re.sub('[.]', '', email) |