From 527bc7cf723e9e7f3c354452205be3b3c56d8965 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Thu, 22 Jul 2021 13:57:23 -0400 Subject: [PATCH] letterboxd fix --- modules/letterboxd.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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):