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
1 changed files with 2 additions and 0 deletions

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