Skip to content

Commit

Permalink
Remove mycroft extra dependency and conditionalize imports
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Sep 21, 2024
1 parent a3e5b91 commit 0a730a0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions neon_core/configuration/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@ def patch_config(config: dict = None):
local_config.update(config)
local_config.store()
Configuration().reload()
import mycroft.configuration
mycroft.configuration.Configuration().reload()
try:
import mycroft.configuration
mycroft.configuration.Configuration().reload()
except ImportError:
pass

0 comments on commit 0a730a0

Please sign in to comment.