Skip to content

Commit 3e52718

Browse files
committed
fix lint
Signed-off-by: Xiaodong Ye <[email protected]>
1 parent 92c7bac commit 3e52718

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightx2v/utils/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,8 @@ def validate_task_arguments(args: "argparse.Namespace") -> None:
623623
path_value = getattr(args, path_arg, "")
624624

625625
# Check if path is provided
626-
if not path_value: raise ValueError(f"{requirements['description']}: --{path_arg} cannot be empty")
626+
if not path_value:
627+
raise ValueError(f"{requirements['description']}: --{path_arg} cannot be empty")
627628

628629
# For comma-separated paths (like i2i with multiple images)
629630
if "," in path_value:

0 commit comments

Comments
 (0)