Skip to content

Commit

Permalink
Fix bug on unix platforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
nandantumu committed Sep 28, 2023
1 parent 8cfc9e6 commit 63720d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gym/f110_gym/envs/track.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def find_track_dir(track_name):
if tracks_r.status_code == 404:
raise FileNotFoundError(f"No maps exists for {track_name}.")

tempdir = tempfile.gettempdir()
tempdir = tempfile.gettempdir() + "/"

with open(tempdir + track_name + ".tar.xz", "wb") as f:
f.write(tracks_r.content)
Expand Down

0 comments on commit 63720d8

Please sign in to comment.