Skip to content

Commit ad6a03c

Browse files
committed
Convert more string literals to bytes literals
1 parent 420a7bf commit ad6a03c

File tree

2 files changed

+688
-688
lines changed

2 files changed

+688
-688
lines changed

Xlib/protocol/rq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ def pack_value(self, val):
537537

538538
if self.pad:
539539
dlen = len(data)
540-
data = data + '\0' * ((4 - dlen % 4) % 4)
540+
data = data + b'\0' * ((4 - dlen % 4) % 4)
541541

542542
return data, len(val), None
543543

0 commit comments

Comments
 (0)