From 15746b1d4d63b53913bcb07cb1bfd79bce7ab9aa Mon Sep 17 00:00:00 2001 From: Alexander Hampel Date: Thu, 20 Apr 2023 17:43:52 -0400 Subject: [PATCH] fix sphinx doc build by adding a small init function --- python/triqs_dft_tools/converters/plovasp/converter.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/python/triqs_dft_tools/converters/plovasp/converter.py b/python/triqs_dft_tools/converters/plovasp/converter.py index ad32bf50..7a475a3d 100644 --- a/python/triqs_dft_tools/converters/plovasp/converter.py +++ b/python/triqs_dft_tools/converters/plovasp/converter.py @@ -43,6 +43,12 @@ from .plotools import generate_plo, output_as_text import logging class PloFormatter(logging.Formatter): + """ + custom event logger for all output, warnings and debug info + """ + def __init__(self, default): + self._default_formatter = default + def format(self, record): # Save the original format _style = self._style