From 6ad926b9b86ba2cd2ed52b33478daecaed8b53ca Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Mon, 18 Apr 2016 11:38:57 +0200 Subject: [PATCH] connect & close are now pure virtual CURA-1339 --- cura/PrinterOutputDevice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cura/PrinterOutputDevice.py b/cura/PrinterOutputDevice.py index d9c3a0d9f7..6ab80f877e 100644 --- a/cura/PrinterOutputDevice.py +++ b/cura/PrinterOutputDevice.py @@ -152,11 +152,11 @@ class PrinterOutputDevice(OutputDevice, QObject): ## Attempt to establish connection def connect(self): - pass + raise NotImplementedError("connect needs to be implemented") ## Attempt to close the connection def close(self): - pass + raise NotImplementedError("close needs to be implemented") @pyqtProperty(bool, notify = connectionStateChanged) def connectionState(self):