updates on Attrerrors

This commit is contained in:
dandaedre 2021-09-29 19:51:45 +02:00
parent b07581624a
commit da14c2efb4
1 changed files with 2 additions and 2 deletions

View File

@ -99,10 +99,10 @@ class VP(object):
_status.acquire()
try:
stat=openSTATUS(self.status)
except Exception as e:
except AttributeError as e:
print("[PRM:ERROR] Can't get status of vp",str(self))
stat=None
if stat==None:
stat=None,None,None
self.st_shutter,self.st_osd,self.st_input=stat