Fix a method call

Thanks @FormerLurker for the heads-up!
This commit is contained in:
Gina Häußge committed 2018-03-09 10:48:50 +01:00
1 parent a2ccf414e6
commit 4c3e44d50e
1 file changed
+1 -1
+1 -1
View File
@@ -246,7 +246,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback):
def job_on_hold(self, blocking=True, *args, **kwargs):
if self._comm is None:
raise RuntimeError("No connection to the printer")
return self._comm.put_job_on_hold(blocking=blocking)
return self._comm.job_put_on_hold(blocking=blocking)
def set_job_on_hold(self, value, blocking=True, *args, **kwargs):
if self._comm is None: