Loading back/myfab/queue.py +1 −1 Original line number Diff line number Diff line Loading @@ -76,7 +76,7 @@ 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() QueueElement.delete().where(QueueElement.queue == qid).execute() PrinterQueue.delete().where(PrinterQueue.queue == qid).execute() Queue.delete().where(Queue.id == qid).execute() Loading Loading
back/myfab/queue.py +1 −1 Original line number Diff line number Diff line Loading @@ -76,7 +76,7 @@ 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() QueueElement.delete().where(QueueElement.queue == qid).execute() PrinterQueue.delete().where(PrinterQueue.queue == qid).execute() Queue.delete().where(Queue.id == qid).execute() Loading