Fixed a race contidion in the main twitter session

This commit is contained in:
Manuel Cortez 2018-08-26 08:09:55 -05:00
parent 013a80a1f2
commit 7b925b5909

View File

@ -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)