Config validator needs to know that background_image is a string

This commit is contained in:
Chris Jones 2012-04-19 09:25:21 +01:00
parent c844184f9f
commit 68e25538a2

View File

@ -487,6 +487,8 @@ class ConfigBase(Borg):
keytype = keymap[keytype]
elif keytype == 'list':
value = 'list(%s)' % ','.join(value)
if key == 'background_image':
keytype = 'string'
if keytype == 'string':
value = '"%s"' % value