mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -06:00
accessible_output2/outputs/auto.py: handle all possible exceptions when adding outputs to the list
This commit is contained in:
parent
17ccc30d9b
commit
607da14355
@ -9,8 +9,9 @@ class Auto(Output):
|
||||
self.outputs = []
|
||||
for output in output_classes:
|
||||
try:
|
||||
self.outputs.append(output())
|
||||
except OutputError:
|
||||
a=output()
|
||||
self.outputs.append(a)
|
||||
except:
|
||||
pass
|
||||
|
||||
def get_first_available_output(self):
|
||||
|
Loading…
Reference in New Issue
Block a user