From b4c326cb5a3a1e3e0121907584e9fafbf647f6d3 Mon Sep 17 00:00:00 2001 From: Bezleputh Date: Mon, 13 Apr 2015 09:40:37 +0200 Subject: [PATCH] [arte] fix bug when date is not available --- modules/arte/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/arte/pages.py b/modules/arte/pages.py index 2808427a..b8d6973d 100644 --- a/modules/arte/pages.py +++ b/modules/arte/pages.py @@ -48,7 +48,7 @@ class ArteItemElement(ItemElement): obj_rating = Dict('VRT', default=NotAvailable) obj_rating_max = 10 obj_description = Dict('VDE', default=NotAvailable) - obj_date = Date(Dict('VDA')) + obj_date = Date(Dict('VDA', default=NotAvailable), default=NotAvailable) def obj_duration(self): seconds = Dict('videoDurationSeconds')(self)