There was an error while loading. Please reload this page.
1 parent 53f7dd0 commit fbe3519Copy full SHA for fbe3519
1 file changed
aw_qt/manager.py
@@ -56,7 +56,8 @@ def _discover_modules_bundled() -> List[str]:
56
matches = glob(os.path.join(path, "aw-*"))
57
for match in matches:
58
if os.path.isfile(match) and os.access(match, os.X_OK):
59
- modules.append(match)
+ name = os.path.basename(match)
60
+ modules.append(name)
61
else:
62
logger.warning("Found matching file but was not executable: {}".format(path))
63
@@ -171,6 +172,7 @@ def discover_modules(self):
171
172
}
173
found_modules |= set(_discover_modules_bundled())
174
found_modules |= set(_discover_modules_system())
175
+ found_modules ^= {"aw-qt"} # Exclude self
176
177
for m_name in found_modules:
178
if m_name not in self.modules:
0 commit comments