forked from 0x2620/pandora
entities can be empty
This commit is contained in:
parent
0485a95b2f
commit
913599697e
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ def load_config():
|
||||||
c[part] = {}
|
c[part] = {}
|
||||||
c = c[part]
|
c = c[part]
|
||||||
if isinstance(d, list):
|
if isinstance(d, list):
|
||||||
if not c:
|
if not c and section not in ('entities', ):
|
||||||
c += d
|
c += d
|
||||||
sys.stderr.write("adding default value for %s = %s\n" % (
|
sys.stderr.write("adding default value for %s = %s\n" % (
|
||||||
section, str(d)))
|
section, str(d)))
|
||||||
|
|
Loading…
Reference in a new issue