We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e51b091 + 2485110 commit 10db5fbCopy full SHA for 10db5fb
i3ipc/i3ipc.py
@@ -321,7 +321,7 @@ class Connection(object):
321
MAGIC = 'i3-ipc' # safety string for i3-ipc
322
_chunk_size = 1024 # in bytes
323
_timeout = 0.5 # in seconds
324
- _struct_header = '<%dsII' % len(MAGIC.encode('utf-8'))
+ _struct_header = '=%dsII' % len(MAGIC.encode('utf-8'))
325
_struct_header_size = struct.calcsize(_struct_header)
326
327
def __init__(self, socket_path=None):
0 commit comments