Skip to content

Commit

Permalink
Correct indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
JimMadge committed Oct 8, 2024
1 parent 1f3e751 commit 42d46c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_safe_haven/logging/plain_file_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 42d46c1

Please sign in to comment.