Closedown

This commit is contained in:
gac-x04sa
2018-10-31 15:10:14 +01:00
parent 0723fd6843
commit d6b2e8fbbf

View File

@@ -60,7 +60,7 @@ class Pixel(DeviceBase, Readable, Readable.IntegerType):
def assert_ready(self):
if not self.is_connected():
if not try_connect():
if not self.try_connect():
raise Exception (self.name + " not connected")
err = self.get_error_code()
if err!=0: