diff --git a/modules/letterboxd.py b/modules/letterboxd.py index 8f6ec302..d936546f 100644 --- a/modules/letterboxd.py +++ b/modules/letterboxd.py @@ -44,9 +44,10 @@ class Letterboxd: list_url = letterboxd_list.strip() if not list_url.startswith(base_url): raise Failed(f"Letterboxd Error: {list_url} must begin with: {base_url}") - if len(self._parse_list(list_url, language)) > 0: + elif len(self._parse_list(list_url, language)) > 0: valid_lists.append(list_url) - raise Failed(f"Letterboxd Error: {list_url} failed to parse") + else: + raise Failed(f"Letterboxd Error: {list_url} failed to parse") return valid_lists def get_items(self, method, data, language):