#23 Update Condition
Some checks failed
SyncMirror / sync (push) Has been cancelled

This commit is contained in:
Pesy Wu 2024-07-20 21:48:39 +08:00 committed by GitHub
parent 13ec8a7b8c
commit 62e19837aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,7 +11,7 @@ def ReadConf(variable_name, default_value=None):
# Try to get the variable from the environment # Try to get the variable from the environment
env_value = os.environ.get(variable_name) env_value = os.environ.get(variable_name)
if env_value is not None: if env_value:
config_data = yaml.load(env_value, Loader=yaml.FullLoader) config_data = yaml.load(env_value, Loader=yaml.FullLoader)
return config_data return config_data