Extra poll after command returned OK

This commit is contained in:
Ken Roberts 2014-10-14 19:57:13 -07:00
parent 03a31f9bc9
commit fb51f505d5

View File

@ -474,6 +474,8 @@ class PJLink1(QTcpSocket):
# Command succeeded - no extra information # Command succeeded - no extra information
if data.upper() == 'OK': if data.upper() == 'OK':
log.debug('(%s) Command returned OK' % self.ip) log.debug('(%s) Command returned OK' % self.ip)
# A command returned successfully, recheck data
self.poll_loop()
return return
if cmd in self.PJLINK1_FUNC: if cmd in self.PJLINK1_FUNC: