From 9ec08cbc84b01ce82f58892556637d8934ede0a5 Mon Sep 17 00:00:00 2001 From: Jonathan Weth Date: Mon, 28 Jun 2021 11:01:45 +0200 Subject: Support multiple hosts --- test_client.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test_client.py') diff --git a/test_client.py b/test_client.py index 850e8d3..0e78784 100755 --- a/test_client.py +++ b/test_client.py @@ -29,7 +29,9 @@ import dbus bus = dbus.SessionBus() -time = bus.get_object("org.ArcticaProject.RWASupportSessionService", "/RWASupportSessionService") +api = bus.get_object("org.ArcticaProject.RWASupportSessionService", "/RWASupportSessionService") -curr = time.start() +hosts = api.get_web_app_hosts() +print(hosts) +curr = api.start(0) print("Your VNC session is", curr) -- cgit v1.2.3