Add content in print queue method
This commit is contained in:
@@ -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
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user