Loading back/myfab/queue.py +2 −0 Original line number Diff line number Diff line Loading @@ -76,6 +76,8 @@ def remove_queue(qid): if not get_queue_by_id(qid): return log.info(f'Deleting queue with id {qid}') QueueElement.delete().where(Queue.id == qid).execute() PrinterQueue.delete().where(PrinterQueue.queue == qid).execute() Queue.delete().where(Queue.id == qid).execute() Loading Loading
back/myfab/queue.py +2 −0 Original line number Diff line number Diff line Loading @@ -76,6 +76,8 @@ def remove_queue(qid): if not get_queue_by_id(qid): return log.info(f'Deleting queue with id {qid}') QueueElement.delete().where(Queue.id == qid).execute() PrinterQueue.delete().where(PrinterQueue.queue == qid).execute() Queue.delete().where(Queue.id == qid).execute() Loading