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