From 4adcbcd9eece038ee1638f8de95eb840b02c0a75 Mon Sep 17 00:00:00 2001 From: Maximilian Giller Date: Mon, 9 Oct 2023 18:13:38 +0200 Subject: [PATCH] Improved look of log message --- src/measurer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/measurer.py b/src/measurer.py index dec7a61..6ec6609 100644 --- a/src/measurer.py +++ b/src/measurer.py @@ -18,7 +18,8 @@ while True: sensor.setDirection(Directions.OUTSIDE) distance_outside = sensor.getDistance() - logging.info(f"----------\nInside: {distance_inside} cm") + logging.info("----------") + logging.info(f"Inside: {distance_inside} cm") logging.info(f"Outside: {distance_outside} cm") sleep(DELAY_SECONDS)