mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-02-01 11:36:55 +00:00
rename _is_jwt_token_expired to _jwt_is_expired
This commit is contained in:
@@ -351,7 +351,7 @@ mutation initPlaybackSession(
|
||||
|
||||
@property
|
||||
def _api_headers(self):
|
||||
if self._is_jwt_token_expired(self._access_token):
|
||||
if self._jwt_is_expired(self._access_token):
|
||||
self.write_debug('Access token has expired; re-logging in')
|
||||
self._perform_login(*self._get_login_info())
|
||||
return {'Authorization': f'Bearer {self._access_token}'}
|
||||
|
||||
Reference in New Issue
Block a user