Multi-printers #32

Open
n07070 wants to merge 80 commits from multi-printers into master
pull from: multi-printers
2 changed files with 0 additions and 11 deletions
Showing only changes of commit 12508bda83 - Show all commits

No files matched your search

-10
View File
@@ -121,16 +121,6 @@ class PrintQueue:
"log" : task.log, "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 return None
def mark_completed(self, task_id, task_status, log=None): def mark_completed(self, task_id, task_status, log=None):
-1
View File
@@ -31,7 +31,6 @@ class TaskType(Enum):
TEXT = "text" TEXT = "text"
IMAGE = "image" IMAGE = "image"
CUT = "cut"
QR = "qr" QR = "qr"
REMOVE = "remove" REMOVE = "remove"