Skip to content

Commit

Permalink
Update dialog.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl authored Dec 28, 2023
1 parent e0eedf4 commit 7d44a6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ovos_utils/dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from typing import Optional

from ovos_utils.bracket_expansion import expand_options
from ovos_utils.file_utils import resolve_resource_file
from ovos_utils.file_utils import resolve_ovos_resource_file
from ovos_utils.lang import translate_word
from ovos_utils.log import LOG, log_deprecation

Expand Down Expand Up @@ -163,7 +163,7 @@ def get_dialog(phrase: str, lang: str = None,
lang = "en-us"

filename = join('text', lang.lower(), phrase + '.dialog')
template = resolve_resource_file(filename)
template = resolve_ovos_resource_file(filename)
if not template:
LOG.debug('Resource file not found: {}'.format(filename))
return phrase
Expand Down

0 comments on commit 7d44a6b

Please sign in to comment.