This commit is contained in:
cwx
2023-10-03 16:54:02 +08:00
parent e64ba840bf
commit 76c7aa69a8
6 changed files with 178 additions and 34 deletions
+6 -1
View File
@@ -78,7 +78,12 @@ class ComicPath:
elif result_type == "images_dir":
file = os.path.join(settings.IMAGES_STORE, PROJECT, "images", name, chapter)
return file
@classmethod
def CBZ(cls, item):
return cls.get_file_path(item, result_type="cbz", convert=True)
class ntfy:
@classmethod
def sendMsg(cls, msg,alert=False,sleep=None,error=None):