Skip to content

Commit

Permalink
fix mappings with intro music
Browse files Browse the repository at this point in the history
  • Loading branch information
beebls committed Jun 22, 2023
1 parent 30bb9a6 commit 176d81e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def __init__(self, packPath : str, json : dict, truncatedPackPath: str):

self.has_intro = False
if (self.music == True):
self.has_intro = os.path.exists(os.path.join(packPath, self.mappings["intro_music.mp3"] if "intro_music.mp3" in self.mappings else "intro_music.mp3"))
self.has_intro = "intro_music.mp3" in self.mappings or os.path.exists(os.path.join(packPath, "intro_music.mp3"))

async def delete(self) -> Result:
try:
Expand Down

0 comments on commit 176d81e

Please sign in to comment.