Make image upload anonymous

This commit is contained in:
n07070 committed 2026-11-18 17:49:01 +01:00
1 parent a5dc4697de
commit 584a3cf13c
2 files changed
+16 -10

No files matched your search

+2 -1
View File
@@ -85,8 +85,9 @@ class ImageTask(PrintTask):
This tasks represents a image content ( in the form of it's path ), and it's signature.
"""
def __init__(self, image_path, signature, process):
def __init__(self, image_path, signature, process, task_id):
super().__init__(TaskType.IMAGE)
self.task_id = self._generate_id() if not task_id else task_id
self.image_path = image_path
self.signature = signature
self.process = process