From fed297621655ccf8ce7f94d638c256202f680627 Mon Sep 17 00:00:00 2001 From: Chong Shen Ng Date: Fri, 20 Dec 2024 10:31:15 +0000 Subject: [PATCH] fix(framework) Fix UnboundLocalError for hashed run ID in flwr-serverapp --- 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: