Skip to content

Commit

Permalink
Remove commented out statement
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyDiamondstein committed Sep 29, 2017
1 parent d788e74 commit aa7b057
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions python/quickstart.py
Expand Up @@ -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):
Expand All @@ -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',
Expand Down

0 comments on commit aa7b057

Please sign in to comment.