mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-12-29 19:11:56 +08:00
Fixed type in opensubtitles.com provider that could cause AuthenticationError for new users. #2152
This commit is contained in:
parent
6f92e35ba0
commit
baf7a7300d
1 changed files with 1 additions and 1 deletions
|
@ -400,7 +400,7 @@ class OpenSubtitlesComProvider(ProviderRetryMixin, Provider):
|
||||||
logger.info('Downloading subtitle %r', subtitle)
|
logger.info('Downloading subtitle %r', subtitle)
|
||||||
|
|
||||||
headers = {'Accept': 'application/json', 'Content-Type': 'application/json',
|
headers = {'Accept': 'application/json', 'Content-Type': 'application/json',
|
||||||
'Authorization': 'Beaker ' + self.token}
|
'Authorization': 'Bearer ' + self.token}
|
||||||
res = self.retry(
|
res = self.retry(
|
||||||
lambda: checked(
|
lambda: checked(
|
||||||
lambda: self.session.post(self.server_url + 'download',
|
lambda: self.session.post(self.server_url + 'download',
|
||||||
|
|
Loading…
Reference in a new issue