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: ...@@ -93,10 +93,9 @@ class Downloader:
success = False success = False
self.wait_for_reset() self.wait_for_reset()
except TwythonAuthError as e: except TwythonAuthError as e:
print(e) success = True
self.reconnect() response = []
success = False logging.info("Returned 401; Favorites are private")
time.sleep(5)
for status in response: for status in response:
self.snapshot.add_favorite_to_graph(subject, status) 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