Skip to content

Commit

Permalink
maxsplit
Browse files Browse the repository at this point in the history
  • Loading branch information
ebrelsford committed Mar 18, 2015
1 parent 7021e7f commit 35f5717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -49,7 +49,7 @@ def line_matches(line):
# Get just the part after the label
splitters = (':', '-')
for splitter in splitters:
split_line = line.split(splitter)
split_line = line.split(splitter, 1)
if len(split_line) > 1:
return split_line[1].strip()
return None
Expand Down

0 comments on commit 35f5717

Please sign in to comment.