summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pytools/obmcutil3
1 files changed, 3 insertions, 0 deletions
diff --git a/pytools/obmcutil b/pytools/obmcutil
index 6db589e..9207eca 100644
--- a/pytools/obmcutil
+++ b/pytools/obmcutil
@@ -16,6 +16,9 @@ def fix_byte(it,key,parent):
elif (isinstance(it,dbus.Byte)):
if (key != None):
parent[key] = int(it)
+ elif (isinstance(it,dbus.Double)):
+ if (key != None):
+ parent[key] = float(it)
else:
pass
OpenPOWER on IntegriCloud