From 04ab74589affff4fd5637c09eae1cef9c3e30000 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 29 Jun 2024 00:01:18 -0500 Subject: [PATCH] Fix missing f-string in loop util (#120800) --- homeassistant/util/loop.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/util/loop.py b/homeassistant/util/loop.py index 8a469569601..866f35e79e2 100644 --- a/homeassistant/util/loop.py +++ b/homeassistant/util/loop.py @@ -106,10 +106,10 @@ def raise_for_blocking_call( if strict: raise RuntimeError( - "Caught blocking call to {func.__name__} with args " - f"{mapped_args.get('args')} inside the event loop by" + f"Caught blocking call to {func.__name__} with args " + f"{mapped_args.get('args')} inside the event loop by " f"{'custom ' if integration_frame.custom_integration else ''}" - "integration '{integration_frame.integration}' at " + f"integration '{integration_frame.integration}' at " f"{integration_frame.relative_filename}, line {integration_frame.line_number}:" f" {integration_frame.line}. (offender: {offender_filename}, line " f"{offender_lineno}: {offender_line}), please {report_issue}\n"