From a416e317275acf0607aab1937bab2e917034be0e Mon Sep 17 00:00:00 2001 From: Kazephil Date: Sat, 16 Jul 2022 13:52:33 +0900 Subject: [PATCH] Remove the code integrated in the common module, and update the relevant function call. --- omegat_tools/merge_omegat_glossaries.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/omegat_tools/merge_omegat_glossaries.py b/omegat_tools/merge_omegat_glossaries.py index 5d5b0c0..ca5def9 100644 --- a/omegat_tools/merge_omegat_glossaries.py +++ b/omegat_tools/merge_omegat_glossaries.py @@ -50,8 +50,7 @@ def set_base_glossary_path(): '''Assign the default path for glossary files''' configpath = Path(glossary_settings['configpath']) - candidates = [configpath, common.DEFAULT_DOCHOME, common.USER_HOME] - base_glossary_path = common.set_basepath(candidates) + base_glossary_path = common.set_basepath(configpath) return base_glossary_path