apply vylders fix and also figure out how to set _is_target correctly, as well as make it work nicely with ble.

This commit is contained in:
Patrick McQuay
2022-01-18 11:26:00 -05:00
committed by Kyle Brown
parent 9f373b4be0
commit 1c82f7d387
2 changed files with 32 additions and 32 deletions

View File

@@ -399,15 +399,16 @@ class KMKKeyboard:
for module in self.modules:
try:
module.during_bootup(self)
except Exception:
except Exception as err:
if self.debug_enabled:
print('Failed to load module', module)
print('Failed to load module', err, module)
print()
for ext in self.extensions:
try:
ext.during_bootup(self)
except Exception:
except Exception as err:
if self.debug_enabled:
print('Failed to load extension', ext)
print('Failed to load extension', err, ext)
self._init_matrix()