From 5c3a31631100e1d32af025bf5a929de0b44fc7fe Mon Sep 17 00:00:00 2001 From: Kazephil Date: Sat, 16 Jul 2022 13:43:50 +0900 Subject: [PATCH] Change variable name. --- omegat_tools/merge_omegat_glossaries.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/omegat_tools/merge_omegat_glossaries.py b/omegat_tools/merge_omegat_glossaries.py index 496c92f..5d5b0c0 100644 --- a/omegat_tools/merge_omegat_glossaries.py +++ b/omegat_tools/merge_omegat_glossaries.py @@ -49,8 +49,8 @@ def get_glossary_settings(): def set_base_glossary_path(): '''Assign the default path for glossary files''' - config_path = Path(glossary_settings['configpath']) - candidates = [config_path, common.DEFAULT_DOCHOME, common.USER_HOME] + configpath = Path(glossary_settings['configpath']) + candidates = [configpath, common.DEFAULT_DOCHOME, common.USER_HOME] base_glossary_path = common.set_basepath(candidates) return base_glossary_path