Fix issue with source select being None

This commit is contained in:
Ken Roberts 2014-10-08 15:36:23 -07:00
parent db2d2ca3b3
commit d4b6c067ef
1 changed files with 2 additions and 0 deletions

View File

@ -191,6 +191,8 @@ class PJLink1(QTcpSocket):
for i in ['POWR', 'ERST', 'LAMP', 'AVMT', 'INPT']:
self.send_command(i)
self.waitForReadyRead()
if self.source_available is None:
self.send_command('INST')
def _get_status(self, status):
"""