[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
540eb6f08b
commit
96df7c049e
|
@ -63,7 +63,6 @@ class DatetimeFormatter(logging.Formatter):
|
||||||
:func:`time.strftime` in case of microseconds in format string.
|
:func:`time.strftime` in case of microseconds in format string.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
def formatTime(self, record: LogRecord, datefmt=None) -> str:
|
def formatTime(self, record: LogRecord, datefmt=None) -> str:
|
||||||
if datefmt and "%f" in datefmt:
|
if datefmt and "%f" in datefmt:
|
||||||
ct = self.converter(record.created)
|
ct = self.converter(record.created)
|
||||||
|
|
Loading…
Reference in New Issue