Changes
2 changed files (+2/-2)
-
-
@@ -9,7 +9,7 @@ from .unixsocket import UnixStreamTransportdirs = PlatformDirs("search", "unnamed") os.makedirs(dirs.user_runtime_dir, exist_ok=True) sockpath = os.path.join(dirs.user_runtime_dir, "sock") sockpath = os.path.join(dirs.user_runtime_dir, "socket") proxy = xmlrpc.client.ServerProxy( "http://localhost", transport=UnixStreamTransport(sockpath) )
-
-
-
@@ -176,7 +176,7 @@print("Starting RPC server") os.makedirs(dirs.user_runtime_dir, exist_ok=True) sockpath = os.path.join(dirs.user_runtime_dir, "sock") sockpath = os.path.join(dirs.user_runtime_dir, "socket") pathlib.Path(sockpath).unlink(missing_ok=True) server = UnixStreamXMLRPCServer(sockpath) server.register_function(search)
-