Skip to content

Commit

Permalink
Fix ruff complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
davemevans committed Aug 7, 2024
1 parent f261ae4 commit 6cddfb2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions m3u8/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,9 +442,7 @@ def _parse_variant_playlist(line, data, state, **kwargs):
def _parse_bitrate(state, **kwargs):
if "segment" not in state:
state["segment"] = {}
state["segment"]["bitrate"] = _parse_simple_parameter(
cast_to=int, **kwargs
)
state["segment"]["bitrate"] = _parse_simple_parameter(cast_to=int, **kwargs)


def _parse_byterange(line, state, **kwargs):
Expand Down

0 comments on commit 6cddfb2

Please sign in to comment.