Closedown
This commit is contained in:
1 parent
0723fd6843
commit
d6b2e8fbbf
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user