willforde / script.module.codequick

Kodi addon framework
GNU General Public License v2.0
33 stars 6 forks source link

[fix] GetDirectory error with callback full path #39

Closed sy6sy2 closed 4 years ago

sy6sy2 commented 4 years ago

Hi @willforde,

This PR fix the error describe here: https://github.com/willforde/script.module.codequick/issues/33#issuecomment-602243034

How to reproduce the error

item = Listitem()
item.label = "Foo item"
item.set_callback('/other/foo/', is_folder=True)
return item

Of course, feel free to fix this issue in another way if needed. thank you! 😉

cc: @wwark

wwark commented 4 years ago

Thank you @willforde !