mirror of
https://github.com/devproje/balance-application.git
synced 2024-10-20 15:11:21 +00:00
fix: function
This commit is contained in:
parent
b787891c27
commit
f0e25f0740
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue