Cast dbus.Double for python-json

At some point a floating point value was added to a sensor
object.

python-json doesn't handle the dbus wrapper types like
dbus.Double.  Cast dbus.Double to a float, similar to integers.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
1 file changed