diff --git a/syntribos/utils/env.py b/syntribos/utils/env.py index b7185320..ac432f0a 100644 --- a/syntribos/utils/env.py +++ b/syntribos/utils/env.py @@ -278,7 +278,8 @@ def is_syntribos_initialized(): if not os.path.exists(get_syntribos_root()): return False - if os.path.exists(get_default_conf_file()): + if any([os.path.exists(conf_file) for conf_file in + [get_default_conf_file(), CONF.config_file, CONF.config_dir]]): return True return False