commit | 9273a302e8f2b3c3e939dff77758e90f163bf6a1 | [log] [tgz] |
---|---|---|
author | James Feist <james.feist@linux.intel.com> | Thu Feb 07 11:29:48 2019 -0800 |
committer | James Feist <james.feist@linux.intel.com> | Thu Feb 07 11:31:13 2019 -0800 |
tree | ee7d8c9f7feeee5298817c8539f65ab9ad026ff9 | |
parent | 403ce23066a8b0f0dca23220530b8760748b168e [diff] |
Make bools correctly display as booleans dbus.Boolean gets converted to int when translating to json. If we convert it to python bool first it gets displayed as a bool. Tested-by: Navigated to debug server and saw all bools read as "true" and "false" instead of 1 and 0. Change-Id: Ic47bacab86ca5a58da435d27290cded98957cb21 Signed-off-by: James Feist <james.feist@linux.intel.com>
rest-dbus: web interface to a dbus API
Losely based on https://github.com/joshtronic/python-dbus-rest-server.
Includes code from the following projects:
jQuery
jsTree plugin for jQuery
JsRender