Skip to content

Commit

Permalink
Cleanup console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
AshMartian committed May 29, 2024
1 parent 9ff10f9 commit 348f8eb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions web/js/gir.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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)
}
}
Expand Down

0 comments on commit 348f8eb

Please sign in to comment.