fix: function

This commit is contained in:
Project_IO 2024-10-10 15:35:41 +09:00
parent b787891c27
commit f0e25f0740

View file

@ -25,7 +25,7 @@ conn_param = "host=%s port=%s dbname=%s user=%s password=%s" % (
secret = _load_secret() secret = _load_secret()
def get_otld(): def get_otld():
ret = os.getenv("OTLD_SUPPORT") ret = os.getenv("OTLD_SUPPORT")
if ret is "1" or ret is "true": if ret == "1" or ret == "true":
return True return True
return False return False