From e92c5f1c474c39babbb7afa5c95567129ad17966 Mon Sep 17 00:00:00 2001 From: projectdx Date: Tue, 31 Jan 2023 15:04:49 +0900 Subject: [PATCH] =?UTF-8?q?2022.01.31=20anilife=20=EB=B2=84=EA=B7=B8=20?= =?UTF-8?q?=ED=94=BD=EC=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logic_anilife.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/logic_anilife.py b/logic_anilife.py index ec6ae49..0ca79b3 100644 --- a/logic_anilife.py +++ b/logic_anilife.py @@ -1368,7 +1368,7 @@ class AniLifeQueueEntity(FfmpegQueueEntity): self.savepath = P.ModelSetting.get("anilife_download_path") logger.info(f"self.savepath::> {self.savepath}") - if P.ModelSetting.get_bool("anlife_auto_make_folder"): + if P.ModelSetting.get_bool("anilife_auto_make_folder"): if self.info["day"].find("완결") != -1: folder_name = "%s %s" % ( P.ModelSetting.get("anilife_finished_insert"), @@ -1383,6 +1383,9 @@ class AniLifeQueueEntity(FfmpegQueueEntity): self.savepath, "Season %s" % int(self.season) ) self.filepath = os.path.join(self.savepath, self.filename) + # print(self.filepath) + # exit + if not os.path.exists(self.savepath): os.makedirs(self.savepath)