Skip to content

Commit

Permalink
Update support.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KazukiPrzyborowski committed Nov 22, 2024
1 parent 9cb5a97 commit 221808e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upcean/support.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 221808e

Please sign in to comment.