Fix applying env config converters correctly

- replacing on `is not None` wasn't implemented correctly
master
Felix Stupp 3 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 res: Any = val
for caller in trans: for caller in trans:
new_res = caller(res) new_res = caller(res)
if new_res is None: if new_res is not None:
res = res res = new_res
#### ####

Loading…
Cancel
Save