Skip to content

Commit

Permalink
change restrip to rstrip
Browse files Browse the repository at this point in the history
  • Loading branch information
qubest committed Oct 27, 2024
1 parent 655d34b commit 8e3e502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion window-icon-updater/icon-receiver
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ class IconReceiver(object):
try:
# Parse header from qrexec
header = await reader.readuntil(b'\0')
header_parts = header.decode('ascii').restrip('\x00').split(' ')
header_parts = header.decode('ascii').rstrip('\x00').split(' ')
assert len(header_parts) >= 2, header_parts

service_name = header_parts[0]
Expand Down

0 comments on commit 8e3e502

Please sign in to comment.