commit | 8e5354ea40d562819c1f5749572dc3e1f975ef67 | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Fri Jun 24 09:09:29 2016 -0400 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Fri Jun 24 13:17:29 2016 -0400 |
tree | bfd15dfe4651083b4d4edf3878dc0564562cdb00 | |
parent | bd01c24d18852f4e03582d14ecde7c4d0f81fc4e [diff] |
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>