Update youtube.py

This commit is contained in:
Classic298 2025-05-06 17:11:03 +02:00 committed by GitHub
parent d7927506f1
commit 87dcbd198c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,7 +68,7 @@ class YoutubeLoader:
if isinstance(language, str):
self.language = [language]
else:
self.language = list(language) # Make a copy to avoid modifying the original
self.language = list(language)
# Add English as fallback if not already in the list
if "en" not in self.language: