From 291ecd6084d77ce23b15e1689bb8ece85a406775 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Thu, 5 Mar 2020 19:19:20 +1100 Subject: [PATCH] docs: Fix simple typo, retrived -> retrieved There is a small typo in hackathon_starter/hackathon/scripts/googlePlus.py, hackathon_starter/hackathon/scripts/scraper.py. Should read `retrieved` rather than `retrived`. --- hackathon_starter/hackathon/scripts/googlePlus.py | 4 ++-- hackathon_starter/hackathon/scripts/scraper.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hackathon_starter/hackathon/scripts/googlePlus.py b/hackathon_starter/hackathon/scripts/googlePlus.py index 573dfb6..d4d03dd 100644 --- a/hackathon_starter/hackathon/scripts/googlePlus.py +++ b/hackathon_starter/hackathon/scripts/googlePlus.py @@ -68,7 +68,7 @@ def get_access_token(self, code, state): Parameters: code: string - - The code is retrived from the authorization URL parameter + - The code is retrieved from the authorization URL parameter to obtain access token. state: string - The unique session ID. @@ -106,4 +106,4 @@ def get_user_info(self): if response.status_code != 200: raise(Exception('Invalid response, response code {c}'.format(c=response.status_code))) - return response.json() \ No newline at end of file + return response.json() diff --git a/hackathon_starter/hackathon/scripts/scraper.py b/hackathon_starter/hackathon/scripts/scraper.py index 9441492..b15b825 100644 --- a/hackathon_starter/hackathon/scripts/scraper.py +++ b/hackathon_starter/hackathon/scripts/scraper.py @@ -10,7 +10,7 @@ def fetchHTML(url): ''' - Returns HTML retrived from a url. + Returns HTML retrieved from a url. Parameters: url: String