mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Removed unneeded check from network printing.
We used to not have a printer_state so this check was needed.
This commit is contained in:
parent
059b31b25a
commit
85d979cf50
1 changed files with 0 additions and 4 deletions
|
@ -600,10 +600,6 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||
# \param filter_by_machine Whether to filter MIME types by machine. This
|
||||
# is ignored.
|
||||
def requestWrite(self, nodes, file_name = None, filter_by_machine = False, file_handler = None):
|
||||
if self._progress != 0:
|
||||
self._error_message = Message(i18n_catalog.i18nc("@info:status", "Unable to start a new print job because the printer is busy. Please check the printer."))
|
||||
self._error_message.show()
|
||||
return
|
||||
if self._printer_state != "idle":
|
||||
self._error_message = Message(
|
||||
i18n_catalog.i18nc("@info:status", "Unable to start a new print job, printer is busy. Current printer status is %s.") % self._printer_state)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue