def update_needed(self):
    'Checks if an update is necessary.'
    self.text = download.download_str(self.get_check_url())
    if (self.text is None):
        log.e('Error checking for updates, could not download text')
    curr_version = lnp.config.get_string('updates/packVersion')
    if (not curr_version):
        log.e('Current pack version is not set, cannot check for updates')
        return False
    return (self.get_version() != curr_version)
Checks if an update is necessary.
def update_needed(self):
    
    self.text = download.download_str(self.get_check_url())
    if (self.text is None):
        log.e('Error checking for updates, could not download text')
    curr_version = lnp.config.get_string('updates/packVersion')
    if (not curr_version):
        log.e('Current pack version is not set, cannot check for updates')
        return False
    return (self.get_version() != curr_version)