Skip to content

Commit

Permalink
Fix workflow not importing from flac files on some systems.
Browse files Browse the repository at this point in the history
  • Loading branch information
comfyanonymous committed Jun 30, 2024
1 parent dbb7dd3 commit 521421f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2292,7 +2292,7 @@ export class ComfyApp {
} else {
this.showErrorOnFileLoad(file);
}
} else if (file.type === "audio/flac") {
} else if (file.type === "audio/flac" || file.type === "audio/x-flac") {
const pngInfo = await getFlacMetadata(file);
// Support loading workflows from that webp custom node.
const workflow = pngInfo?.workflow;
Expand Down

0 comments on commit 521421f

Please sign in to comment.