Skip to content

Commit cf718e0

Browse files
committed
v 1.0.2, bg_filename fix
1 parent f3b29b3 commit cf718e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='OsuFileParser',
5-
version='1.0.1',
5+
version='1.0.2',
66
description='Package for wrapping ".osu" file data into a python class.',
77
author='ZyMa-1',
88
url='https://github.com/ZyMa-1/OsuFileParser',

src/BeatmapData.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def __init__(self, data: List[Event]):
7878

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

8484

0 commit comments

Comments
 (0)