Skip to content

Commit

Permalink
Cleanup changes
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Mar 4, 2024
1 parent 7741bac commit 3ba6c77
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ovos_workshop/resource_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,6 @@ def find_resource(res_name: str, root_dir: str, res_dirname: str,
Path: The full path to the resource file or None if not found
"""
if lang:
# test_paths = {Path(root_dir, res_dirname, lang, res_name),
# Path(root_dir, lang, res_name),
# Path(root_dir, res_dirname, res_name),
# Path(root_dir, lang, res_dirname, res_name)}
# for path in test_paths:
# if path.is_file():
# return path
for directory in locate_lang_directories(lang, root_dir, '.'):
# Iterate over nodes in the language directory
for x in directory.iterdir():
Expand Down

0 comments on commit 3ba6c77

Please sign in to comment.