add methods for getting bools and int values directly

This commit is contained in:
Rob Weber 2019-11-27 14:19:25 -06:00
parent 3849a902ea
commit 8c4465f552

View File

@ -30,6 +30,14 @@ def getSetting(name):
return __Addon.getSetting(name)
def getSettingBool(name):
return bool(__Addon.getSettingBool(name))
def getSettingInt(name):
return __Addon.getSettingInt(name)
def setSetting(name, value):
__Addon.setSetting(name, value)