X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fraw.py;h=6da0c90820c94c516769897528fcd17cf077978d;hb=a0677181fec7d781ed5b9551ed2a1f060dd24e49;hp=0a0be1d27cede6d613c92ea802469089e6d44877;hpb=0bfd116596c1dc91f739b53cf3f469c94e8994a7;p=unfold.git diff --git a/plugins/raw.py b/plugins/raw.py index 0a0be1d2..6da0c908 100644 --- a/plugins/raw.py +++ b/plugins/raw.py @@ -4,5 +4,9 @@ from engine.plugin import Plugin class Raw (Plugin): + def __init__ (self, html, **kwds): + Plugin.__init__ (self, **kwds) + self.html=html + def render_content (self, request): - return self.get_setting('html') + return self.html