Commit 61327bc5 by Vasyl Nakvasiuk

fix python code styles

parent d6f794c4
...@@ -95,12 +95,14 @@ class GraphicalSliderToolModule(GraphicalSliderToolFields, XModule): ...@@ -95,12 +95,14 @@ class GraphicalSliderToolModule(GraphicalSliderToolFields, XModule):
@property @property
def configuration(self): def configuration(self):
return stringify_children( return stringify_children(
html.fromstring(self.data).xpath('configuration')[0]) html.fromstring(self.data).xpath('configuration')[0]
)
@property @property
def render(self): def render(self):
return stringify_children( return stringify_children(
html.fromstring(self.data).xpath('render')[0]) html.fromstring(self.data).xpath('render')[0]
)
def get_html(self): def get_html(self):
""" Renders parameters to template. """ """ Renders parameters to template. """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment