accessible_output2/outputs/auto.py: handle all possible exceptions when adding outputs to the list

This commit is contained in:
Jose Manuel Delicado 2017-02-16 11:26:53 +01:00
parent 17ccc30d9b
commit 607da14355

View File

@ -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):