Fix more ruff issues

This commit is contained in:
2025-12-07 05:42:29 +01:00
parent 10704896f9
commit a21121d025
4 changed files with 15 additions and 18 deletions
+2 -6
View File
@@ -4,7 +4,8 @@ import logging
from pathlib import Path
from domain.movies.entities import Movie
from domain.tv_shows.entities import Episode, TVShow
from domain.tv_shows.entities import Episode, Season, TVShow
from domain.tv_shows.value_objects import SeasonNumber
logger = logging.getLogger(__name__)
@@ -74,8 +75,6 @@ class MediaOrganizer:
show_dir = self.tvshow_folder / show_folder_name
# Create season folder
from domain.tv_shows.entities import Season
season = Season(
show_imdb_id=show.imdb_id,
season_number=episode.season_number,
@@ -124,9 +123,6 @@ class MediaOrganizer:
Returns:
True if successful
"""
from domain.tv_shows.entities import Season
from domain.tv_shows.value_objects import SeasonNumber
show_folder_name = show.get_folder_name()
show_dir = self.tvshow_folder / show_folder_name