From f0e25f074082ffa20985cbf638628ae82593f01f Mon Sep 17 00:00:00 2001 From: Project_IO Date: Thu, 10 Oct 2024 15:35:41 +0900 Subject: [PATCH] fix: function --- util/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/config.py b/util/config.py index 97f7296..b061949 100644 --- a/util/config.py +++ b/util/config.py @@ -25,7 +25,7 @@ conn_param = "host=%s port=%s dbname=%s user=%s password=%s" % ( secret = _load_secret() def get_otld(): ret = os.getenv("OTLD_SUPPORT") - if ret is "1" or ret is "true": + if ret == "1" or ret == "true": return True return False