Fix PKC not being able to register as a PMS client

This commit is contained in:
croneter 2021-10-18 16:45:19 +02:00
parent aa14e8259f
commit 0d41321d7f

View file

@ -93,8 +93,8 @@ class plexgdm(object):
try: try:
log.debug("Sending registration data: HELLO %s\n%s" log.debug("Sending registration data: HELLO %s\n%s"
% (self.client_header, self.client_data)) % (self.client_header, self.client_data))
self.update_sock.sendto("HELLO %s\n%s" msg = 'HELLO {}\n{}'.format(self.client_header, self.client_data)
% (self.client_header, self.client_data), self.update_sock.sendto(msg.encode('utf-8'),
self.client_register_group) self.client_register_group)
log.debug('(Re-)registering PKC Plex Companion successful') log.debug('(Re-)registering PKC Plex Companion successful')
except Exception as exc: except Exception as exc: