Skip to content
Browse files

Fix parser so it does not consider blanks at the start or end of lines

  • Loading branch information...
1 parent a3d07ad commit ff58d6d00393d5715081ec4a1210f71cdc3b42a1 @hltbra hltbra committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 m3u8/parser.py
View
1 m3u8/parser.py
@@ -30,6 +30,7 @@ def parse(content):
}
for line in string_to_lines(content):
+ line = line.strip()
if state['expect_segment']:
_parse_ts_chunk(line, data, state)

0 comments on commit ff58d6d

Please sign in to comment.
Something went wrong with that request. Please try again.