diff --git a/scanner/providers/implementations/themoviedatabase.py b/scanner/providers/implementations/themoviedatabase.py index 7b2675a4..fc9483a6 100644 --- a/scanner/providers/implementations/themoviedatabase.py +++ b/scanner/providers/implementations/themoviedatabase.py @@ -547,7 +547,7 @@ class TheMovieDatabase(Provider): # Ignore totally unpopular shows or unknown ones. # sorted is stable and False str: # For now, the API of kyoo only support one language so we remove the others. -default_languages = os.environ["LIBRARY_LANGUAGES"].split(",") +default_languages = os.environ.get("LIBRARY_LANGUAGES", "").split(",") def sort_translations(