Fix no-js warning, crash on duplicate install

This commit is contained in:
Austin Mroz
2026-03-17 10:08:33 -07:00
committed by AustinMroz
parent 993082e4f2
commit 59529f50e6
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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):
+2 -2
View File
@@ -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
}