From 7fb6e99714a08d3536bde8c9de55c8b9d851623f Mon Sep 17 00:00:00 2001 From: Sen ZmaKi Date: Fri, 9 Feb 2024 15:00:15 +0300 Subject: [PATCH] Minor bug fix --- senpwai/utils/class_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/senpwai/utils/class_utils.py b/senpwai/utils/class_utils.py index 0bbfd50..c4a4fd3 100644 --- a/senpwai/utils/class_utils.py +++ b/senpwai/utils/class_utils.py @@ -278,7 +278,7 @@ def episode_title(self, lacked_eps_idx: int) -> str: def validate_anime_folder_path(self) -> None: if not os.path.isdir(self.anime_folder_path): - os.mkdir(self.anime_folder_path) + os.makedirs(self.anime_folder_path) def get_anime_folder_path(self) -> str: def try_path(title: str) -> str | None: