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

Commit 994ffbc

Browse files
committed
Use bytes literals where appropriate
In python 3, these strings are expected to actually be `bytes`.
1 parent eafc041 commit 994ffbc

File tree

2 files changed

+6977
-6977
lines changed

2 files changed

+6977
-6977
lines changed

FAHControl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def set_proc_name(name):
3636
libc.prctl(15, byref(buff), 0, 0, 0)
3737

3838

39-
if sys.platform.startswith('linux'): set_proc_name('FAHControl')
39+
if sys.platform.startswith('linux'): set_proc_name(b'FAHControl')
4040

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

0 commit comments

Comments
 (0)