From fddcd176b3dd0278b980fd3f862a609117a34f75 Mon Sep 17 00:00:00 2001 From: Chong Shen Ng Date: Fri, 20 Dec 2024 11:06:49 +0000 Subject: [PATCH] fix(framework) Fix UnboundLocalError for hashed run ID in flwr-serverapp (#4752) --- src/py/flwr/server/serverapp/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/py/flwr/server/serverapp/app.py b/src/py/flwr/server/serverapp/app.py index 70b0308da2b0..39ecc4899d8a 100644 --- a/src/py/flwr/server/serverapp/app.py +++ b/src/py/flwr/server/serverapp/app.py @@ -116,6 +116,7 @@ def run_serverapp( # pylint: disable=R0914, disable=W0212, disable=R0915 flwr_dir_ = get_flwr_dir(flwr_dir) log_uploader = None success = True + hash_run_id = None while True: try: