Skip to content
Snippets Groups Projects
Verified Commit 4b9ce12d authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Remove debug prints

parent bf7b36ff
No related branches found
No related tags found
No related merge requests found
Pipeline #71635 canceled
......@@ -150,10 +150,6 @@ class CardPrinter(ExtensibleModel):
def get_next_print_job(self) -> Optional["CardPrintJob"]:
if not self.generate_number_on_server:
print(
self.jobs.filter(card__pdf_file=""),
self.jobs.filter(card__pdf_file="").exclude(card__chip_number=""),
)
self.jobs.filter(
(Q(card__pdf_file="") & ~Q(card__chip_number=""))
| Q(status=PrintStatus.IN_PROGRESS)
......
......@@ -36,7 +36,6 @@ class TestPDFView(RenderPDFView):
class PrinterSelectMixin:
def get_context_data(self, **kwargs):
print("Called and used?")
context = super().get_context_data(**kwargs)
context["printers"] = CardPrinter.objects.all()
context["printer_form"] = PrinterSelectForm()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment