diff --git a/func.py b/func.py index c4191d2..b4559af 100644 --- a/func.py +++ b/func.py @@ -193,7 +193,7 @@ def get_tv_shows(): dir_match = re.match(dir_pattern, dir.name) if dir_match: absolute_path = TV_SHOWS_DIRECTORY / dir - relative_path = absolute_path.relative_to(COMICS_DIRECTORY) + relative_path = absolute_path.relative_to(TV_SHOWS_DIRECTORY) if not database.tv_show_path_in_db(str(relative_path)): json_info = {} if (absolute_path / "info.json").exists():