From: BenoƮt Pin Date: Tue, 26 Oct 2010 22:34:12 +0000 (+0200) Subject: Oubli : il faut appeler le constructeur du DublinCore ! X-Git-Url: https://scm.cri.mines-paristech.fr/git/Portfolio.git/commitdiff_plain/1a734b22e824921beac9653319dbf247100d205e?hp=--cc Oubli : il faut appeler le constructeur du DublinCore ! --- 1a734b22e824921beac9653319dbf247100d205e 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