mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-15 07:52:35 +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:
|
if media_type in PREVIEWABLE_MEDIA_TYPES:
|
||||||
return True
|
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.
|
# Maintains backwards compatibility with how custom node outputs are handled in the frontend.
|
||||||
fmt = item.get('format', '')
|
fmt = item.get('format', '')
|
||||||
if fmt and (fmt.startswith('video/') or fmt.startswith('audio/')):
|
if fmt and (fmt.startswith('video/') or fmt.startswith('audio/')):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user