def perform_update_check():
    'Performs the actual update check. Runs in a thread.'
    prepare_updater()
    if lnp.updater.update_needed():
        lnp.new_version = lnp.updater.get_version()
        lnp.ui.on_update_available()
Performs the actual update check. Runs in a thread.
def perform_update_check():
    
    prepare_updater()
    if lnp.updater.update_needed():
        lnp.new_version = lnp.updater.get_version()
        lnp.ui.on_update_available()