Removed another f-string instance

This commit is contained in:
danielcliu 2019-10-22 21:03:41 -07:00
parent 630b33f3b8
commit db7b8524dc
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class _TranscriptFetcher():
.replace('\\', '') .replace('\\', '')
for split in fetched_site.split(self.TIMEDTEXT_STRING)] for split in fetched_site.split(self.TIMEDTEXT_STRING)]
for language in (self.languages if self.languages else ['en']): for language in (self.languages if self.languages else ['en']):
self.matched_splits = [split for split in timedtext_splits if f'&lang={language}' in split] self.matched_splits = [split for split in timedtext_splits if '&lang={}'.format(language) in split]
if self.matched_splits: if self.matched_splits:
break break
if self.matched_splits: if self.matched_splits: