From 8dc7c5881c110a22ad678248b5953a686e85c51f Mon Sep 17 00:00:00 2001 From: Spoked Date: Sat, 3 Feb 2024 12:34:02 -0500 Subject: [PATCH] fix: symlink works correctly now. missing arg in episode parsing. --- backend/utils/parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/utils/parser.py b/backend/utils/parser.py index 18cebd17..6a8088ee 100644 --- a/backend/utils/parser.py +++ b/backend/utils/parser.py @@ -89,12 +89,12 @@ def _parse(self, item, string) -> dict: def episodes(self, string) -> List[int]: """Return a list of episodes in the given string.""" - parse = self._parse(string) + parse = self._parse(None, string) return parse["episodes"] def episodes_in_season(self, season, string) -> List[int]: """Return a list of episodes in the given season.""" - parse = self._parse(item=None, string=string) + parse = self._parse(None, string) if parse["season"] == season: return parse["episodes"] return []