def get_version(self):
    self.json = JSONConfiguration.from_text(self.text)
    jsonPath = lnp.config.get_string('updates/versionJsonPath')
    if (not jsonPath):
        log.e('JSON path to version not configured!')
    return self.json.get_string(jsonPath)
def get_version(self):
    self.json = JSONConfiguration.from_text(self.text)
    jsonPath = lnp.config.get_string('updates/versionJsonPath')
    if (not jsonPath):
        log.e('JSON path to version not configured!')
    return self.json.get_string(jsonPath)