Skip to content

Commit

Permalink
fix windows bug (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryzokuken committed May 3, 2020
1 parent c9d2311 commit 0911664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylib/gyp/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def __init__(self):
dir=base_temp_dir,
)
try:
self.tmp_file = os.fdopen(tmp_fd, "w")
self.tmp_file = os.fdopen(tmp_fd, "wb")
except Exception:
# Don't leave turds behind.
os.unlink(self.tmp_path)
Expand Down

0 comments on commit 0911664

Please sign in to comment.