diff --git a/owrx/controllers/settings/__init__.py b/owrx/controllers/settings/__init__.py index 9800801..030e9fc 100644 --- a/owrx/controllers/settings/__init__.py +++ b/owrx/controllers/settings/__init__.py @@ -10,11 +10,10 @@ class Section(object): self.title = title self.inputs = inputs - def render_inputs(self): - config = Config.get() - return "".join([i.render(config) for i in self.inputs]) + def render_inputs(self, data): + return "".join([i.render(data) for i in self.inputs]) - def render(self): + def render(self, data): return """