| Index: components/ntp_snippets/remote/fetch.py
|
| diff --git a/components/ntp_snippets/remote/fetch.py b/components/ntp_snippets/remote/fetch.py
|
| index 48f448a3ec72d11d37e4340f7bdf22c574ab72e3..aa753f3e7e4728cff5af1d46f610375ff3b0fe71 100755
|
| --- a/components/ntp_snippets/remote/fetch.py
|
| +++ b/components/ntp_snippets/remote/fetch.py
|
| @@ -195,9 +195,9 @@ def Authenticate(args, headers, client_id, client_secret):
|
| creds.apply(headers)
|
|
|
|
|
| -def PrintShortResponse(r):
|
| +def PrintShortResponse(j):
|
| now = datetime.datetime.now()
|
| - for category in r.json()["categories"]:
|
| + for category in j["categories"]:
|
| print("%s: " % category["localizedTitle"])
|
| for suggestion in category["suggestions"]:
|
| attribution = suggestion["attribution"]
|
|
|