From 1a734b22e824921beac9653319dbf247100d205e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Pin?= Date: Wed, 27 Oct 2010 00:34:12 +0200 Subject: [PATCH] Oubli : il faut appeler le constructeur du DublinCore ! --- photo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/photo.py b/photo.py index a90ef42..e66f8eb 100755 --- a/photo.py +++ b/photo.py @@ -50,6 +50,7 @@ class Photo(DynamicType, CMFCatalogAware, BasePhoto, DefaultDublinCoreImpl) : security.declareProtected(ViewRawImage, 'getJpegImage') def __init__(self, id, title='', file='', content_type='', precondition='', **kw) : + DefaultDublinCoreImpl.__init__(self, title=title) BasePhoto.__init__(self, id, title, file, content_type=content_type, precondition=precondition, **kw) self.id = id self.title = title -- 2.20.1