Skip to content

Commit

Permalink
Troubleshooting test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Oct 25, 2023
1 parent fd75f90 commit 873316d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion neon_core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,12 @@ def setup_resolve_resource_file():
"""
from ovos_utils.log import log_deprecation
from neon_utils.file_utils import resolve_neon_resource_file
try:
from mycroft.util.file_utils import resolve_resource_file
except (ImportError, AttributeError):
resolve_resource_file = None

def patched_resolve_resource_file(res_name):
from mycroft.util.file_utils import resolve_resource_file
log_deprecation("This method is deprecated; use "
"`ovos_utils.file_utils.resolve_resource_file.",
"23.12.1")
Expand Down

0 comments on commit 873316d

Please sign in to comment.