Fix applying env config converters correctly

- replacing on `is not None` wasn't implemented correctly
master
Felix Stupp 2 years ago committed by Felix Stupp
parent b589b4b42c
commit bf4ba5b0ac
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -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
####

Loading…
Cancel
Save