Commit 521421f5 authored by comfyanonymous's avatar comfyanonymous
Browse files

Fix workflow not importing from flac files on some systems.

parent dbb7dd3b
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment