Skip to content

Commit

Permalink
Merge branch 'master' of github.com:llllllllll/slider into master
Browse files Browse the repository at this point in the history
  • Loading branch information
tybug committed Dec 12, 2020
2 parents 536fbab + 534efd1 commit 6da272d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions slider/beatmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -1844,6 +1844,10 @@ def commit_group():
group_buffer = []

for line in lines:
# some (presmuably manually edited) beatmaps have whitespace at the
# beginning or end of lines. This can cause logic relying on tokens
# occurring at specific indices to fail, so we get rid of it.
line = line.strip()
if not line or line.startswith('//'):
# filter out empty lines and comments
continue
Expand Down

0 comments on commit 6da272d

Please sign in to comment.