def check_for_update_once(cls): if cls.checked_for_update: return UpdateManager.run_update_check() cls.checked_for_update = True
def on_update(self): UpdateManager.start_update(self.update_available)