From baebe57f2845ba62904285931513ef4af4cd00ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= <6774676+eumiro@users.noreply.github.com> Date: Mon, 10 Jul 2023 22:54:45 +0200 Subject: [PATCH] fix f-strings --- sh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh.py b/sh.py index fc7da40e..04fe4ad4 100644 --- a/sh.py +++ b/sh.py @@ -553,7 +553,7 @@ class Logger(object): def __init__(self, name, context=None): self.name = name - self.log = logging.getLogger("{SH_LOGGER_NAME}.{name}") + self.log = logging.getLogger(f"{SH_LOGGER_NAME}.{name}") self.context = self.sanitize_context(context) def _format_msg(self, msg, *a):