1
0
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:
Michaël De Boey
2025-03-16 23:15:55 +01:00
parent 0242090a86
commit 5ffedda327
11 changed files with 20 additions and 20 deletions

View File

@@ -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}'}