From dce5ff152016ac7e5b80f33b3732b01cda8c5a47 Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Fri, 29 Mar 2024 21:58:49 +0100 Subject: [PATCH] switched to f-string --- slic/core/acquisition/broker_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slic/core/acquisition/broker_client.py b/slic/core/acquisition/broker_client.py index a5dc5b5a..7f4c9a00 100644 --- a/slic/core/acquisition/broker_client.py +++ b/slic/core/acquisition/broker_client.py @@ -286,7 +286,7 @@ def validate_response(resp): return resp message = resp.get("message", "Unknown error") - msg = "An error happened on the server:\n{}".format(message) + msg = f"An error happened on the server:\n{message}" raise BrokerError(msg)