From bf4ba5b0acc3233f0fca957b7ce2dca97728ad7d Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Tue, 23 Aug 2022 21:57:09 +0000 Subject: [PATCH] Fix applying env config converters correctly - replacing on `is not None` wasn't implemented correctly --- server/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/app.py b/server/app.py index 8254a67..0655f4e 100644 --- a/server/app.py +++ b/server/app.py @@ -168,8 +168,8 @@ for key, val in os.environ.items(): res: Any = val for caller in trans: new_res = caller(res) - if new_res is None: - res = res + if new_res is not None: + res = new_res ####