Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Setsugennoao committed Jun 24, 2024
1 parent 44a7afc commit 8b73bb0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vskernels/kernels/abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,9 @@ def descale( # type: ignore[override]
de_base_args = (width, height // (1 + field_based.is_inter))

if field_based.is_inter:
shift_y, shift_x = tuple[tuple[float, float], ...](sh if isinstance(sh, tuple) else (sh, sh) for sh in shift)
shift_y, shift_x = tuple[tuple[float, float], ...](
sh if isinstance(sh, tuple) else (sh, sh) for sh in shift
)

de_kwargs_tf = self.get_descale_args(clip, (shift_y[0], shift_x[0]), *de_base_args, **kwargs)
de_kwargs_bf = self.get_descale_args(clip, (shift_y[1], shift_x[1]), *de_base_args, **kwargs)
Expand Down

0 comments on commit 8b73bb0

Please sign in to comment.