diff --git a/Comics/pipelines.py b/Comics/pipelines.py index d06453e..3e2c56f 100644 --- a/Comics/pipelines.py +++ b/Comics/pipelines.py @@ -38,13 +38,13 @@ class ImgDownloadPipeline(ImagesPipeline): elif result_type == "comic_info": file = os.path.join(item[settings.PROJECT_KEY], "images", item['name'], item['chapter']) elif result_type == "cbz_icon": - file = os.path.join("CBZ", item[settings.PROJECT_KEY], item['name'], item['chapter']+".jpg") + file = os.path.join(CBZ_EXPORT_PATH, item[settings.PROJECT_KEY], item['name'], item['chapter']+".jpg") elif result_type == "down_icon": file = self.download_icon(item,result_type='fullpath') elif result_type == "icon": file = os.path.join(item[settings.PROJECT_KEY], "icons", item['name'], item['chapter']+".jpg") elif result_type == "cbz": - file = os.path.join("CBZ", item[settings.PROJECT_KEY], item['name'], item['chapter']+".CBZ") + file = os.path.join(CBZ_EXPORT_PATH, item[settings.PROJECT_KEY], item['name'], item['chapter']+".CBZ") elif result_type == "images_dir": file = os.path.join(settings.IMAGES_STORE, item[settings.PROJECT_KEY], "images", item['name'], item['chapter']) return file