self.disconnect had wrong signature

This commit is contained in:
Gina Häußge committed 2014-10-31 19:02:48 +01:00
1 parent 4fc561dab5
commit 047d7f5046
1 file changed
+2 -2
@@ -185,10 +185,10 @@ class RepRapProtocol(Protocol):
# enqueue our first temperature query so it get's sent right on establishment of the connection
self._send_temperature_query(withType=True)
def disconnect(self):
def disconnect(self, on_error=False):
self._clear_for_send.clear()
# disconnect
Protocol.disconnect(self)
Protocol.disconnect(self, on_error=on_error)
def select_file(self, filename, origin):
if origin == FileDestinations.SDCARD: