Skip to content

Commit

Permalink
🚑️ Fix incorrect game path on windows
Browse files Browse the repository at this point in the history
Fix an issue where if using windows the game url in html files would use \ instead of /
  • Loading branch information
DrgnFireYellow committed Feb 10, 2024
1 parent 5701022 commit 51d0c3b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@ def make_player(gamefile, system, htmlname, gamename):
)
else:
make_player(
gamepath, system, os.path.splitext(game)[0], gamedisplayname
f"games/{system}/{game}",
system,
os.path.splitext(game)[0],
gamedisplayname,
)
logging.info(f"Checking for artwork for {game}")
artworkpath = os.path.join("artwork", system, f"{game}.png")
Expand Down

0 comments on commit 51d0c3b

Please sign in to comment.