Merge pull request #1447 from MycroftAI/bugfix/audio-service

Fix audio service loading
pull/1444/head
Åke 2018-02-27 21:53:58 +01:00 committed by GitHub
commit 179bc0d6bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -122,6 +122,8 @@ def load_services(config, ws, path=None):
except Exception: except Exception:
LOG.error('Failed to import module ' + descriptor['name'], LOG.error('Failed to import module ' + descriptor['name'],
exc_info=True) exc_info=True)
continue
if (hasattr(service_module, 'autodetect') and if (hasattr(service_module, 'autodetect') and
callable(service_module.autodetect)): callable(service_module.autodetect)):
try: try: