mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
Fixed a race contidion in the main twitter session
This commit is contained in:
parent
013a80a1f2
commit
7b925b5909
@ -197,6 +197,7 @@ class Session(base.baseSession):
|
|||||||
finished = True
|
finished = True
|
||||||
except TwythonError as e:
|
except TwythonError as e:
|
||||||
output.speak(e.message)
|
output.speak(e.message)
|
||||||
|
val = None
|
||||||
if e.error_code != 403 and e.error_code != 404:
|
if e.error_code != 403 and e.error_code != 404:
|
||||||
tries = tries+1
|
tries = tries+1
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
|
Loading…
Reference in New Issue
Block a user