Also check btemporary value

CURA-5449
This commit is contained in:
Lipu Fei 2018-06-07 11:29:19 +02:00
parent 04ecc55e3c
commit 3b46816632

View file

@ -254,7 +254,7 @@ class NetworkedPrinterOutputDevice(PrinterOutputDevice):
self._last_manager_create_time = time()
self._manager.authenticationRequired.connect(self._onAuthenticationRequired)
if b'temporary' not in self._properties:
if self._properties.get(b"temporary", b"false") != b"true":
Application.getInstance().getMachineManager().checkCorrectGroupName(self.getId(), self.name)
def _registerOnFinishedCallback(self, reply: QNetworkReply, onFinished: Optional[Callable[[Any, QNetworkReply], None]]) -> None: