X-Git-Url: https://git.llucax.com/software/sercom.git/blobdiff_plain/65b45e5ceacbabe6f5851b83a57e94fe72ab0317..9661d1f9649f97c4339fa2a4be3aecc5748ea853:/sercom/subcontrollers/ejercicio/__init__.py diff --git a/sercom/subcontrollers/ejercicio/__init__.py b/sercom/subcontrollers/ejercicio/__init__.py index f0b0157..3abb82c 100644 --- a/sercom/subcontrollers/ejercicio/__init__.py +++ b/sercom/subcontrollers/ejercicio/__init__.py @@ -148,10 +148,6 @@ class EjercicioController(controllers.Controller, identity.SecureResource): def show(self,id, **kw): """Show record in model""" r = validate_get(id) - if r.descripcion is None: - r.desc = '' - else: - r.desc = publish_parts(r.descripcion, writer_name='html')['html_body'] return dict(name=name, namepl=namepl, record=r) @expose()