From 348f8eb28a15809fa25bfb0b00d906457f203715 Mon Sep 17 00:00:00 2001 From: Ash Martian Date: Tue, 28 May 2024 17:54:14 -0700 Subject: [PATCH] Cleanup console logs --- web/js/gir.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web/js/gir.js b/web/js/gir.js index c440e21..b749a2b 100644 --- a/web/js/gir.js +++ b/web/js/gir.js @@ -125,8 +125,7 @@ app.registerExtension({ // Add a text element to the node that displays the selected directory element.innerHTML = directory; if(!hasTk) { - console.log('Tkinter not installed'); - console.log(widget) + console.error('Tkinter not installed'); } node.setOutputData("directory", directory); node.onResize?.(node.size); @@ -145,7 +144,6 @@ app.registerExtension({ node.setOutputData("directory", directory); node.widgets.filter(w => w.name === "Selected Directory").forEach(w => w.value = directory); if (!hasTk) { - console.log('Tkinter not installed'); node.widgets.filter(w => w.name === "Select Directory").forEach(w => w.disabled = true) } }