mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
[Nebula] Fix bug in 52efa4b312
This commit is contained in:
parent
5d45484cc7
commit
4c268f9cb7
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ def inner_call():
|
|||
# if 401 or 403, attempt credential re-auth and retry
|
||||
if exc.cause and isinstance(exc.cause, urllib.error.HTTPError) and exc.cause.code in (401, 403):
|
||||
self.to_screen(f'Reauthenticating to Nebula and retrying, because last {auth_type} call resulted in error {exc.cause.code}')
|
||||
self._login()
|
||||
self._perform_login()
|
||||
return inner_call()
|
||||
else:
|
||||
raise
|
||||
|
|
Loading…
Reference in a new issue