From 7c43d9b05c6c8d8ccce0f2929276a8545efe8edb Mon Sep 17 00:00:00 2001 From: Mustafa Gezen Date: Thu, 2 Feb 2023 03:39:20 +0100 Subject: [PATCH] Fix prod detection --- common/env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/env.py b/common/env.py index 9782afe..4e3515c 100644 --- a/common/env.py +++ b/common/env.py @@ -9,7 +9,7 @@ def get_env(): def is_prod(): - return get_env() == "1" + return get_env() == "production" def is_k8s():