We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 481ace6 commit b7ed55aCopy full SHA for b7ed55a
aw_qt/manager.py
@@ -138,8 +138,10 @@ def __init__(self, testing: bool=False) -> None:
138
# "aw-watcher-network"
139
]
140
141
- # TODO: Filter away all modules not available on system
142
- self.modules = {name: Module(name, testing=testing) for name in _possible_modules}
+ self.modules = []
+ for name in _possible_modules:
143
+ if not _locate_executable(name):
144
+ self.modules.append(Module(name, testing=testing))
145
146
def get_unexpected_stops(self):
147
return list(filter(lambda x: x.started and not x.is_alive(), self.modules.values()))
0 commit comments