letterboxd fix

pull/351/head
meisnate12 3 years ago
parent 992c5444d9
commit 527bc7cf72

@ -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):

Loading…
Cancel
Save