From aa7b057c5757f3109e7235b4a8b99499c2d4e909 Mon Sep 17 00:00:00 2001 From: Andy Diamondstein Date: Fri, 29 Sep 2017 11:54:08 -0400 Subject: [PATCH] Remove commented out statement --- python/quickstart.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/python/quickstart.py b/python/quickstart.py index 3868e4af..de2aa315 100644 --- a/python/quickstart.py +++ b/python/quickstart.py @@ -21,9 +21,7 @@ def get_authenticated_service(): flow = InstalledAppFlow.from_client_secrets_file(CLIENT_SECRETS_FILE, SCOPES) - credentials = flow.run_console() - return build(API_SERVICE_NAME, API_VERSION, credentials = credentials) def channels_list_by_username(service, **kwargs): @@ -40,7 +38,6 @@ def channels_list_by_username(service, **kwargs): # When running locally, disable OAuthlib's HTTPs verification. When # running in production *do not* leave this option enabled. os.environ['OAUTHLIB_INSECURE_TRANSPORT'] = '1' - #app.run('localhost', 8090, debug=True) service = get_authenticated_service() channels_list_by_username(service, part='snippet,contentDetails,statistics',