diff --git a/main.py b/main.py index 7d1c464..b851fe4 100644 --- a/main.py +++ b/main.py @@ -96,7 +96,7 @@ def index(): plugins = "" dashFunctions = plugins_module.getDashboardFunctions() for function in dashFunctions: - functionOutput = plugins_module.runPluginFunction(function["plugin"],function["function"],{},account_module.check_account(request.cookies.get("account"))) + functionOutput = plugins_module.runPluginFunction(function["plugin"],function["function"],{},request.cookies.get("account")) plugins += render.plugin_output_dash(functionOutput,plugins_module.getPluginFunctionReturns(function["plugin"],function["function"])) diff --git a/render.py b/render.py index 6987dba..7db13e8 100644 --- a/render.py +++ b/render.py @@ -301,9 +301,5 @@ def plugin_output_dash(outputs, returns): html = '' for returnOutput in returns: - html += render_template('components/dashboard-plugin.html', name=returns[returnOutput]["name"], output=outputs[returnOutput]) - - - html += f'' - html += f'' + html += render_template('components/dashboard-plugin.html', name=returns[returnOutput]["name"], output=outputs[returnOutput]) return html \ No newline at end of file