def setSetting(name, value):

    settings = QtCore.QSettings("uk.co.foundry", "core.asset.nuke")
    settings.setValue(name, value)
def getSetting(name, default=None):

    settings = QtCore.QSettings("uk.co.foundry", "core.asset.nuke")
    return settings.value(name, default)