X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fraw.py;h=6da0c90820c94c516769897528fcd17cf077978d;hb=a6283861f02d158e77b7e9e40aa3bf6fe23363f7;hp=0a0be1d27cede6d613c92ea802469089e6d44877;hpb=82776a2cb337c82d92fb04652e107fae44e014bf;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