From 340898959dfd548c0f2f87c04ca6edc161308a50 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Mon, 12 Feb 2024 22:02:41 +1100 Subject: [PATCH] fix: Don't show output on plugins that aren't verified --- render.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/render.py b/render.py index 6cf5e91..22151b3 100644 --- a/render.py +++ b/render.py @@ -270,16 +270,12 @@ def plugin_output(outputs, returns): html = '' for returnOutput in returns: + if returnOutput not in outputs: + continue html += f'
' html += f'
' html += f'

{returns[returnOutput]["name"]}

' - # Get the output - if returnOutput not in outputs: - html += f'

No output

' - html += f'
' - html += f'
' - continue output = outputs[returnOutput] if returns[returnOutput]["type"] == "list": html += f'