Skip to content

Commit bbef817

Browse files
committed
one more attempt at fixing formatting
1 parent 633045a commit bbef817

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adafruit_logging.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,9 @@ def format(self, record: LogRecord) -> str:
200200
if "{asctime}" in self.fmt or "%(asctime)s" in self.fmt:
201201
now = time.localtime()
202202
# pylint: disable=line-too-long
203-
vals["asctime"] = (
204-
f"{now.tm_year}-{now.tm_mon:02d}-{now.tm_mday:02d} {now.tm_hour:02d}:{now.tm_min:02d}:{now.tm_sec:02d}"
205-
)
203+
vals[
204+
"asctime"
205+
] = f"{now.tm_year}-{now.tm_mon:02d}-{now.tm_mday:02d} {now.tm_hour:02d}:{now.tm_min:02d}:{now.tm_sec:02d}"
206206

207207
if self.defaults:
208208
for key, val in self.defaults.items():

0 commit comments

Comments
 (0)