Skip to content

Commit 9b9471b

Browse files
committed
fix credentials/client_secrets naming and comment command output
1 parent d85290f commit 9b9471b

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

events/next18/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ $ python qbr_tool.py
2828
# Create the spreadsheet from the Google Slides template.
2929
# For example, 13My9SxkotWssCc2F5yaXp2fzGrzoYV6maytr3qAT9GQ
3030
$ python qbr_tool.py create_sheet --template_id <your template id>;
31-
Spreadsheet URL: https://docs.google.com/spreadsheets/d/<spreadsheet id>
31+
32+
# Outputs:
33+
# Spreadsheet URL: https://docs.google.com/spreadsheets/d/<spreadsheet id>
3234

3335
# Add data from the stub customer service
3436
$ python qbr_tool.py add_customers \
@@ -39,6 +41,8 @@ $ python qbr_tool.py add_customers \
3941
$ python qbr_tool.py create_presentations
4042
--spreadsheet_id <spreadsheet id> \
4143
--customer_id jupiter
42-
jupiter: https://docs.google.com/presentations/d/<filled in presentation id>
44+
45+
# Outputs:
46+
# jupiter: https://docs.google.com/presentations/d/<filled in presentation id>
4347
```
4448

events/next18/qbr_tool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636

3737

3838
SCOPES = ['https://www.googleapis.com/auth/drive']
39-
store = file.Storage('credentials.json')
39+
store = oauth_file.Storage('token.json')
4040
creds = store.get()
4141
if not creds or creds.invalid:
42-
flow = client.flow_from_clientsecrets('client_secret.json', SCOPES)
42+
flow = client.flow_from_clientsecrets('credentials.json', SCOPES)
4343
creds = tools.run_flow(flow, store)
4444

4545
slides_service = build('slides', 'v1', http=creds.authorize(Http()))

0 commit comments

Comments
 (0)