diff --git a/product/ERP5OOo/transforms/oood_commandtransform.py b/product/ERP5OOo/transforms/oood_commandtransform.py index 437fea65653ca9c2346dddf3b5c81577ba5f5bff..e5e1ee30d8fbe1d137231a54d4d31ef6f81fb1ee 100644 --- a/product/ERP5OOo/transforms/oood_commandtransform.py +++ b/product/ERP5OOo/transforms/oood_commandtransform.py @@ -62,8 +62,7 @@ class OOOdCommandTransform(commandtransform): def __init__(self, context, name, data, mimetype): commandtransform.__init__(self, name) - if name: - self.__name__ = name + self.__name__ = name self.mimetype = mimetype self.context = context if self.mimetype == 'text/html':