diff --git a/src/sessions/twitter/session.py b/src/sessions/twitter/session.py index db0bc0e9..c1fd62b5 100644 --- a/src/sessions/twitter/session.py +++ b/src/sessions/twitter/session.py @@ -197,6 +197,7 @@ class Session(base.baseSession): finished = True except TwythonError as e: output.speak(e.message) + val = None if e.error_code != 403 and e.error_code != 404: tries = tries+1 time.sleep(5)