Fix: restore python 3.8 support
The typing was incorrect anyway:
list[Movie, Show, Episode]
The values are actually strings, not objects
@@ -91,7 +91,7 @@ def find_by_id(self, movie_sections, show_sections):
if not self.config.id:
return [None, None, None]
- results = defaultdict(list[Movie, Show, Episode])
+ results = defaultdict(list)
for id in self.config.id:
found = self.find_from_sections_by_id(show_sections, id, results) if self.config.walk_shows else None
if found:
