Skip to content

Commit

Permalink
v 1.0.2, bg_filename fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZyMa-1 committed Jul 17, 2023
1 parent f3b29b3 commit cf718e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='OsuFileParser',
version='1.0.1',
version='1.0.2',
description='Package for wrapping ".osu" file data into a python class.',
author='ZyMa-1',
url='https://github.com/ZyMa-1/OsuFileParser',
Expand Down
2 changes: 1 addition & 1 deletion src/BeatmapData.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def __init__(self, data: List[Event]):

for event in data:
if event.type:
setattr(self, "background_filename", event.params[0])
setattr(self, "background_filename", event.params[0][1:-1]) # "bg.png" -> bg.png
break


Expand Down

0 comments on commit cf718e0

Please sign in to comment.