mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-06 03:57:03 +08:00
Ruff fix
This commit is contained in:
parent
acd91d30a7
commit
932002dcf2
@ -8,7 +8,7 @@ import comfy.latent_formats
|
||||
import comfy.clip_vision
|
||||
import json
|
||||
import numpy as np
|
||||
from typing import List, Optional, Tuple, Union
|
||||
from typing import Tuple
|
||||
|
||||
class WanImageToVideo:
|
||||
@classmethod
|
||||
@ -409,10 +409,9 @@ def parse_json_tracks(tracks):
|
||||
pass
|
||||
else:
|
||||
# Unexpected format
|
||||
print(f"Warning: Unexpected track format: {type(tracks_data[0])}")
|
||||
pass
|
||||
|
||||
except json.JSONDecodeError as e:
|
||||
print(f"Error parsing tracks JSON: {e}")
|
||||
except json.JSONDecodeError:
|
||||
tracks_data = []
|
||||
return tracks_data
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user