diff --git a/scripts/tag_autocomplete_helper.py b/scripts/tag_autocomplete_helper.py index 8be7049..e4e5dcd 100644 --- a/scripts/tag_autocomplete_helper.py +++ b/scripts/tag_autocomplete_helper.py @@ -11,17 +11,7 @@ FILE_DIR = Path().absolute() EXT_PATH = FILE_DIR.joinpath('extensions') # Tags base path - - -def get_tags_base_path(): - script_path = Path(scripts.basedir()) - if (script_path.is_relative_to(EXT_PATH)): - return script_path.joinpath('tags') - else: - return FILE_DIR.joinpath('tags') - - -TAGS_PATH = get_tags_base_path() +TAGS_PATH = Path(scripts.basedir()).joinpath('tags') # The path to the folder containing the wildcards and embeddings WILDCARD_PATH = FILE_DIR.joinpath('scripts/wildcards')