Add content in print queue method

This commit is contained in:
n07070
2026-06-04 02:32:47 +02:00
parent 3a1d9b20fb
commit 175dd3385a

View File

@@ -77,7 +77,7 @@ class PrintQueue:
with self._lock: with self._lock:
self.app.logger.debug("Return current queue state") self.app.logger.debug("Return current queue state")
return [ return [
{"task_id": t.task_id, "status": t.status, "type": str(t.task_type)} {"task_id": t.task_id, "status": t.status, "type": str(t.task_type), "content": str(t.get_print_data())}
for t in self._queue for t in self._queue
] ]