From 418fb603c302b45108d5d5b3db4c11cb4bdd62ba Mon Sep 17 00:00:00 2001 From: lowfatcode Date: Fri, 2 Sep 2022 11:39:15 +0100 Subject: [PATCH] removed excess whitespace --- phew/logging.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/phew/logging.py b/phew/logging.py index b714705..bfa5da6 100644 --- a/phew/logging.py +++ b/phew/logging.py @@ -8,13 +8,10 @@ _log_truncate_at = 11 * 1024 _log_truncate_to = 8 * 1024 - - def datetime_string(): dt = machine.RTC().datetime() return "{0:04d}-{1:02d}-{2:02d} {4:02d}:{5:02d}:{6:02d}".format(*dt) - def file_size(file): try: return os.stat(file)[6]