Changes to the python API for Kodi Leia
#16
(2019-07-31, 22:36)robweber Wrote: I have a question on these, not sure if what I'm seeing is a bug or intended behavior. In testing if I use the getSettingBool function on a bool type setting I get a 0 or 1 as a result. I was expecting an actual python bool True/False value. This was causing some if statements to fail on me so I wrapped them in a bool() function and then they worked. I am testing with Leia with Python 2.7 still. Would Python 3 yield a different result?

fixed at https://github.com/xbmc/xbmc/pull/16448
Reply

Logout Mark Read Team Forum Stats Members Help
Changes to the python API for Kodi Leia1