Commit aefb02d7 authored by Ian Dennis Miller's avatar Ian Dennis Miller

do not retry on auth error

parent c80485a9
Pipeline #267 passed with stage
in 14 seconds
......@@ -93,10 +93,9 @@ class Downloader:
success = False
self.wait_for_reset()
except TwythonAuthError as e:
print(e)
self.reconnect()
success = False
time.sleep(5)
success = True
response = []
logging.info("Returned 401; Favorites are private")
for status in response:
self.snapshot.add_favorite_to_graph(subject, status)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment