mirror of
https://github.com/clearml/clearml
synced 2025-02-07 13:23:40 +00:00
Fix set_credentials uses incorrect config file
This commit is contained in:
parent
f93c0dddf0
commit
b21e932726
@ -69,5 +69,5 @@ def get_active_config_file():
|
|||||||
|
|
||||||
def get_config_file():
|
def get_config_file():
|
||||||
f = LOCAL_CONFIG_FILE_OVERRIDE_VAR.get()
|
f = LOCAL_CONFIG_FILE_OVERRIDE_VAR.get()
|
||||||
f = f if f else LOCAL_CONFIG_FILES[0]
|
f = f if f else LOCAL_CONFIG_FILES[-1]
|
||||||
return expanduser(expandvars(f)) if f else None
|
return expanduser(expandvars(f)) if f else None
|
||||||
|
Loading…
Reference in New Issue
Block a user