diff --git a/videohelpersuite/nodes.py b/videohelpersuite/nodes.py index 1ed64d6..5f61b5f 100755 --- a/videohelpersuite/nodes.py +++ b/videohelpersuite/nodes.py @@ -104,7 +104,7 @@ def apply_format_widgets(format_name, kwargs): #NOTE: This doesn't respect max/min, but should be good enough as a fallback to a fallback to a fallback default = {"BOOLEAN": False, "INT": 0, "FLOAT": 0, "STRING": ""}[w[1]] kwargs[w[0]] = default - logger.warn(f"Missing input for {w[0][0]} has been set to {default}") + logger.warn(f"Missing input for {w[0]} has been set to {default}") wit = iterate_format(video_format, False) for w in wit: while isinstance(w, list): diff --git a/web/js/VHS.core.js b/web/js/VHS.core.js index af159ce..00f3941 100755 --- a/web/js/VHS.core.js +++ b/web/js/VHS.core.js @@ -167,8 +167,8 @@ function useKVState(nodeType) { }); }) } -var helpDOM; -if (!app.helpDOM) { +var helpDOM = app.VHSHelp; +if (!app.VHSHelp) { helpDOM = document.createElement("div"); app.VHSHelp = helpDOM }