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 c151e7c commit 42d47b6Copy full SHA for 42d47b6
can/interfaces/cantact.py
@@ -27,8 +27,10 @@ class CantactBus(BusABC):
27
def _detect_available_configs():
28
try:
29
interface = cantact.Interface()
30
- except (NameError, SystemError):
31
- logger.debug("Could not import cantact, so no configurations are available")
+ except (NameError, SystemError, AttributeError):
+ logger.debug(
32
+ "Could not import or instantiate cantact, so no configurations are available"
33
+ )
34
return []
35
36
channels = []
0 commit comments