From 1f11b65304de8d274a6c9fa9313a2e9a4d811785 Mon Sep 17 00:00:00 2001 From: FIRST_Paul Iyobo Date: Mon, 7 Oct 2019 12:35:26 +0200 Subject: [PATCH] fixed an UnboundLocalError in updater.py --- src/update/updater.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/update/updater.py b/src/update/updater.py index 9cc20af2..1629c3ff 100644 --- a/src/update/updater.py +++ b/src/update/updater.py @@ -11,6 +11,7 @@ from .wxUpdater import * logger = logging.getLogger("updater") def do_update(endpoint=application.update_url): + result = None try: result = update.perform_update(endpoint=endpoint, current_version=application.version, app_name=application.name, update_available_callback=available_update_dialog, progress_callback=progress_callback, update_complete_callback=update_finished) except: