From a65b301a62c82b036fb5a9f04950fd5e88b76783 Mon Sep 17 00:00:00 2001 From: Kevron Rees Date: Wed, 26 Feb 2014 14:56:19 -0800 Subject: [PATCH] fixed amb-set --- tests/amb-set | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/amb-set b/tests/amb-set index 9bf61bf..03847b2 100755 --- a/tests/amb-set +++ b/tests/amb-set @@ -21,11 +21,10 @@ zone = int(args.zone) realValue = 0 if valueType == "boolean": - realValue = bool(value) + realValue = value == "true" elif valueType == "integer": realValue = int(value) - bus = dbus.SystemBus() managerObject = bus.get_object("org.automotive.message.broker", "/"); managerInterface = dbus.Interface(managerObject, "org.automotive.Manager") -- 2.7.4