Skip to content

Commit

Permalink
Prevent error on load
Browse files Browse the repository at this point in the history
See #347
  • Loading branch information
AustinMroz committed Dec 25, 2024
1 parent 5f118cc commit cad87a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "comfyui-videohelpersuite"
description = "Nodes related to video workflows"
version = "1.4.3"
version = "1.4.4"
license = { file = "LICENSE" }
dependencies = ["opencv-python", "imageio-ffmpeg"]

Expand Down
2 changes: 1 addition & 1 deletion web/js/VHS.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ function applyVHSAudioLinksFix(nodeType, nodeData, audio_slot) {
if (linfo.type == "VHS_AUDIO") {
this.outputs[audio_slot].type = "AUDIO"
let tnode = app.graph._nodes_by_id[linfo.target_id]
let inputDef = LiteGraph.registered_node_types[tnode.type].nodeData?.input
let inputDef = LiteGraph.registered_node_types[tnode.type]?.nodeData?.input
let has_migrated = true
if (inputDef?.required) {
for (let k in inputDef.required) {
Expand Down

0 comments on commit cad87a1

Please sign in to comment.