From 42d46c1a310f15e538544dd7beab1e896d2a2fac Mon Sep 17 00:00:00 2001 From: Jim Madge Date: Tue, 8 Oct 2024 15:17:18 +0100 Subject: [PATCH] Correct indentation --- data_safe_haven/logging/plain_file_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_safe_haven/logging/plain_file_handler.py b/data_safe_haven/logging/plain_file_handler.py index f41690b043..ffce4a551c 100644 --- a/data_safe_haven/logging/plain_file_handler.py +++ b/data_safe_haven/logging/plain_file_handler.py @@ -34,5 +34,5 @@ def emit(self, record: logging.LogRecord) -> None: if isinstance(record.msg, Text): # Convert rich.text.Text objects to strings record.msg = str(record.msg) - record.msg = self.strip_ansi_escapes(self.strip_rich_formatting(record.msg)) + record.msg = self.strip_ansi_escapes(self.strip_rich_formatting(record.msg)) super().emit(record)