Skip to content

Commit

Permalink
Make ruff happy
Browse files Browse the repository at this point in the history
  • Loading branch information
daveisfera committed Feb 6, 2024
1 parent 32b76d0 commit 3cf8253
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion m3u8/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,10 @@ def __init__(self, uri, stream_info, media, base_uri):
if resolution is not None:
resolution = resolution.strip('"')
values = resolution.split("x")
resolution_pair = (int(round(float(values[0]))), int(round(float(values[1]))))
resolution_pair = (
int(round(float(values[0]))),
int(round(float(values[1]))),
)
else:
resolution_pair = None

Expand Down

0 comments on commit 3cf8253

Please sign in to comment.