diff options
-rw-r--r-- | Phytron.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -307,7 +307,7 @@ class IPCOMM: recv_data = None - with rlock: + with self.rlock: self.conn.flushInput() self.send( ('%X' % ID) + cmd ) @@ -360,7 +360,7 @@ class IPCOMM: """ recv_data = None - with rlock: + with self.rlock: self.conn.flushInput() self.send( ('%X' % ID) + 'IS?' ) |