fix remove
This commit is contained in:
parent
ce94fc4074
commit
fce2c98bec
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,7 @@ class GetYoutubeVideos:
|
|||
f"Error finding subtitle that failed in error string. Regex: r\"{regex}\". Error string: \"{error}\""
|
||||
)
|
||||
else:
|
||||
ydl_opts['subtitleslangs'].pop(subtitle_match.group(1))
|
||||
ydl_opts['subtitleslangs'].remove(subtitle_match.group(1))
|
||||
result = 'retrying (subtitles error)'
|
||||
else:
|
||||
self._log.error(
|
||||
|
|
Loading…
Reference in a new issue