pull/503/head
meisnate12 3 years ago
parent ae682e4299
commit 0068cf8eb2

@ -982,6 +982,8 @@ class CollectionBuilder:
raise Failed(f"Collection Error: chart: {value} does not work with movie libraries") raise Failed(f"Collection Error: chart: {value} does not work with movie libraries")
elif value in imdb.charts: elif value in imdb.charts:
self.builders.append((method_name, value)) self.builders.append((method_name, value))
else:
raise Failed(f"Collection Error: chart: {value} is invalid options are {[i for i in imdb.charts]}")
def _letterboxd(self, method_name, method_data): def _letterboxd(self, method_name, method_data):
if method_name.startswith("letterboxd_list"): if method_name.startswith("letterboxd_list"):

Loading…
Cancel
Save