load defaults for more config sections

This commit is contained in:
j 2013-07-06 11:23:10 +00:00
parent ce03870fe6
commit 407d591964

View file

@ -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