qmemmand: fix systemd notification

This commit is contained in:
Marek Marczykowski-Górecki 2017-04-07 16:49:16 +02:00
parent 865dac5d0b
commit 6383d87be9
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -291,7 +291,7 @@ def main():
if nofity_socket.startswith('@'):
nofity_socket = '\0%s' % nofity_socket[1:]
s.connect(nofity_socket)
s.sendall("READY=1")
s.sendall(b"READY=1")
s.close()
threading.Thread(target=server.serve_forever).start()