mirror of https://github.com/morpheus65535/bazarr
Strip trailing slashes from endpoint
Trailing slashes will cause the download to fail immediately.
This commit is contained in:
parent
532537e03c
commit
fcddb8f5cd
|
@ -227,7 +227,7 @@ class WhisperAIProvider(Provider):
|
|||
if not ffmpeg_path:
|
||||
raise ConfigurationError("ffmpeg path must be provided")
|
||||
|
||||
self.endpoint = endpoint
|
||||
self.endpoint = endpoint.rstrip("/")
|
||||
self.response = int(response)
|
||||
self.timeout = int(timeout)
|
||||
self.session = None
|
||||
|
|
Loading…
Reference in New Issue