From 913599697e70799770e6436535514537d3b57059 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 26 Dec 2014 12:19:36 +0000 Subject: [PATCH] entities can be empty --- pandora/app/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/app/config.py b/pandora/app/config.py index 73c472794..3feda1840 100644 --- a/pandora/app/config.py +++ b/pandora/app/config.py @@ -97,7 +97,7 @@ def load_config(): c[part] = {} c = c[part] if isinstance(d, list): - if not c: + if not c and section not in ('entities', ): c += d sys.stderr.write("adding default value for %s = %s\n" % ( section, str(d)))