diff configmix/config.py @ 516:ad1e630ba736

FIX: Do not filter-out all False values then interpolating (zero int, boolean False)
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 19 Dec 2021 14:36:18 +0100
parents 3387a9d5fb12
children 328af767f5f8
line wrap: on
line diff
--- a/configmix/config.py	Sun Dec 19 14:10:28 2021 +0100
+++ b/configmix/config.py	Sun Dec 19 14:36:18 2021 +0100
@@ -781,8 +781,7 @@
             #
             if (start == 0) and (rest == len_s):
                 return varvalue
-            if not varvalue:
-                # None and/or empty str are handled equally here
+            if varvalue is None:
                 pass
             else:
                 res_append(str_and_u(varvalue))