From 407d591964d9269af14887be482d705473c3d9af Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 6 Jul 2013 11:23:10 +0000 Subject: [PATCH] load defaults for more config sections --- pandora/app/config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pandora/app/config.py b/pandora/app/config.py index 0ad0ad9f..06d58336 100644 --- a/pandora/app/config.py +++ b/pandora/app/config.py @@ -64,7 +64,10 @@ def load_config(): #add missing defaults - for section in ('capabilities', 'user.ui', 'user.ui.showFolder'): + for section in ( + 'capabilities', 'cantPlay', 'itemName', 'media', + 'site', 'tv', 'user.ui', 'user.ui.showFolder' + ): parts = map(lambda p: p.replace('\0', '\\.'), section.replace('\\.', '\0').split('.')) #print 'checking', section c = config