diff --git a/resources/lib/modules/iptvmanager.py b/resources/lib/modules/iptvmanager.py index 1310da4..99e4dae 100644 --- a/resources/lib/modules/iptvmanager.py +++ b/resources/lib/modules/iptvmanager.py @@ -30,7 +30,7 @@ class IPTVManager: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.connect(('127.0.0.1', self.port)) try: - sock.send(json.dumps(func()).encode()) # pylint: disable=not-callable + sock.sendall(json.dumps(func()).encode()) # pylint: disable=not-callable finally: sock.close()