Add REMOVE task for images once printed

This commit is contained in:
n07070 committed 2026-11-28 23:57:30 +01:00
1 parent 5574fc89ef
commit c9fde8eea8
3 files changed
+29 -20

No files matched your search

+2 -2
View File
@@ -109,9 +109,9 @@ class RemoveTask(PrintTask):
This class is used to clear images and leftovers after a print
"""
def __init__(self, task_id, image_path):
def __init__(self, image_path):
super().__init__(TaskType.REMOVE)
self.task_id = self._generate_id() if not task_id else task_id
self.task_id = self._generate_id()
self.image_path = image_path
# There is no print data,