From 221808e435d6826ecba075bcd6e6195bc67dac17 Mon Sep 17 00:00:00 2001 From: Kazuki Suzuki Przyborowski Date: Fri, 22 Nov 2024 16:13:28 -0600 Subject: [PATCH] Update support.py --- upcean/support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upcean/support.py b/upcean/support.py index cae4cf4c..2fd58068 100644 --- a/upcean/support.py +++ b/upcean/support.py @@ -40,7 +40,7 @@ def get_importing_script_path(): __use_env_file__ = True __use_ini_file__ = True if('PYUPCEAN_CONFIG_FILE' in os.environ and os.path.exists(os.environ['PYUPCEAN_CONFIG_FILE']) and __use_env_file__): - scriptconf = os.path.join(os.path.dirname(get_importing_script_path()), "upcean.ini") + scriptconf = os.environ['PYUPCEAN_CONFIG_FILE'] else: scriptconf = os.path.join(os.path.dirname(get_importing_script_path()), "upcean.ini") if os.path.exists(scriptconf):