Remove cut task

This commit is contained in:
n07070 committed 2026-11-28 01:22:15 +01:00
1 parent 52205be6af
commit 12508bda83
2 files changed
-11

No files matched your search

-10
View File
@@ -121,16 +121,6 @@ class PrintQueue:
"log" : task.log,
}
if task.task_type == TaskType.CUT:
return {
"task_id": task_id,
"status": task.status,
"type": task.task_type,
"position": index,
"in_queue": True,
"log" : task.log,
}
return None
def mark_completed(self, task_id, task_status, log=None):
-1
View File
@@ -31,7 +31,6 @@ class TaskType(Enum):
TEXT = "text"
IMAGE = "image"
CUT = "cut"
QR = "qr"
REMOVE = "remove"