mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-07-13 04:16:58 +08:00
fix whitespace
This commit is contained in:
parent
724fbf827a
commit
786703a481
@ -51,7 +51,7 @@ def is_previewable(media_type: str, item: dict) -> bool:
|
||||
if media_type in PREVIEWABLE_MEDIA_TYPES:
|
||||
return True
|
||||
|
||||
# Check format field (MIME type).
|
||||
# Check format field (MIME type).
|
||||
# Maintains backwards compatibility with how custom node outputs are handled in the frontend.
|
||||
fmt = item.get('format', '')
|
||||
if fmt and (fmt.startswith('video/') or fmt.startswith('audio/')):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user