Skip to content

Commit

Permalink
Correct stat global names
Browse files Browse the repository at this point in the history
This is a code path that I don't seem to hit on my computer at least.
  • Loading branch information
Ghostkeeper committed Oct 1, 2018
1 parent 5527936 commit e2468b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion X3GWriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def gpx_executable(self):
result = os.path.expanduser(result)
result = os.path.expandvars(result)
Logger.log("d", "GPX executable: {executable_file}".format(executable_file=result))
os.chmod(result, stat.IXUSR | stat.IRUSR | stat.IRGRP | stat.IROTH)
os.chmod(result, stat.S_IXUSR | stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH)
return result

## Gets the command that we need to call GPX with.
Expand Down

0 comments on commit e2468b5

Please sign in to comment.