Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Use bytes literals where appropriate
Browse files Browse the repository at this point in the history
In python 3, these strings are expected to actually be `bytes`.
  • Loading branch information
mat8913 committed Mar 27, 2020
1 parent eafc041 commit 994ffbc
Show file tree
Hide file tree
Showing 2 changed files with 6,977 additions and 6,977 deletions.
2 changes: 1 addition & 1 deletion FAHControl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def set_proc_name(name):
libc.prctl(15, byref(buff), 0, 0, 0)


if sys.platform.startswith('linux'): set_proc_name('FAHControl')
if sys.platform.startswith('linux'): set_proc_name(b'FAHControl')

# If present, remove the Launch Services -psn_xxx_xxx argument
if len(sys.argv) > 1 and sys.argv[1][:4] == '-psn':
Expand Down
Loading

0 comments on commit 994ffbc

Please sign in to comment.