[arte] fix display bug during newly install

This commit is contained in:
Bezleputh 2015-04-02 19:04:28 +02:00 committed by Romain Bignon
commit f05e577837

View file

@ -51,7 +51,7 @@ class ArteModule(Module, CapVideo, CapCollection):
lang_choice = OrderedDict([(k, u'%s' % (v.get('label'))) for k, v in LANG.items])
quality_choice = [u'%s' % (k) for k, v in QUALITY.items]
CONFIG = BackendConfig(Value('lang', label='Lang of videos', choices=lang_choice, default=LANG.FRENCH),
CONFIG = BackendConfig(Value('lang', label='Lang of videos', choices=lang_choice, default=LANG.FRENCH.get('label')),
Value('order', label='Sort order', choices=order, default='AIRDATE_DESC'),
Value('quality', label='Quality of videos', choices=quality_choice, default=QUALITY.HD),
Value('format', label='Format of videos', choices=format_choice, default=FORMATS.HTTP_MP4),