diff --git a/twoot.py b/twoot.py index 0ea13ba..a5f892a 100755 --- a/twoot.py +++ b/twoot.py @@ -201,8 +201,8 @@ Only used by `get_timeline()`. :return: List of tweets from the thread """ def _get_rest_of_thread(session, headers, url): - logging.debug("Downloading tweets in thread from separate page") - # Download page with thread + logging.debug("Downloading tweets in thread from separate page") + # Download page with thread try: thread_page = session.get(url, headers=headers, timeout=HTTPS_REQ_TIMEOUT) except requests.exceptions.ConnectionError: @@ -214,8 +214,7 @@ def _get_rest_of_thread(session, headers, url): # Verify that download worked if thread_page.status_code != 200: - logging.fatal('The Nitter page did not download correctly from ' + url + ' (' + str( - thread_page.status_code) + '). Aborting') + logging.fatal('The Nitter page did not download correctly from ' + url + ' (' + str(thread_page.status_code) + '). Aborting') shutdown(-1) logging.debug('Nitter page downloaded successfully from ' + url)