catch more driver calls
This commit is contained in:
parent
66b0b96426
commit
ccc34ef778
@ -160,11 +160,29 @@ class screenManager():
|
||||
return ''
|
||||
try:
|
||||
attributeFormatString = attributeFormatString.replace('fenrirBGColor', self.env['runtime']['screenDriver'].getFenrirBGColor(attribute))
|
||||
except Exception as e:
|
||||
pass
|
||||
try:
|
||||
attributeFormatString = attributeFormatString.replace('fenrirFGColor', self.env['runtime']['screenDriver'].getFenrirFGColor(attribute))
|
||||
except Exception as e:
|
||||
pass
|
||||
try:
|
||||
attributeFormatString = attributeFormatString.replace('fenrirUnderline', self.env['runtime']['screenDriver'].getFenrirUnderline(attribute))
|
||||
except Exception as e:
|
||||
pass
|
||||
try:
|
||||
attributeFormatString = attributeFormatString.replace('fenrirBold', self.env['runtime']['screenDriver'].getFenrirBold(attribute))
|
||||
except Exception as e:
|
||||
pass
|
||||
try:
|
||||
attributeFormatString = attributeFormatString.replace('fenrirBlink', self.env['runtime']['screenDriver'].getFenrirBlink(attribute))
|
||||
except Exception as e:
|
||||
pass
|
||||
try:
|
||||
attributeFormatString = attributeFormatString.replace('fenrirFontSize', self.env['runtime']['screenDriver'].getFenrirFontSize(attribute))
|
||||
except Exception as e:
|
||||
pass
|
||||
try:
|
||||
attributeFormatString = attributeFormatString.replace('fenrirFont', self.env['runtime']['screenDriver'].getFenrirFont(attribute))
|
||||
except Exception as e:
|
||||
pass
|
||||
|
@ -68,7 +68,7 @@ class driver(inputDriver):
|
||||
devices = monitor.poll(2)
|
||||
if devices:
|
||||
while monitor.poll(0.2):
|
||||
time.sleep(0.2)
|
||||
time.sleep(0.1)
|
||||
eventQueue.put({"Type":fenrirEventType.PlugInputDevice,"Data":None})
|
||||
return time.time()
|
||||
def plugInputDeviceWatchdogTimer(self, active):
|
||||
|
Loading…
Reference in New Issue
Block a user