From b9dfeeea564577eff038005061b7990f8a2a0719 Mon Sep 17 00:00:00 2001 From: robert Date: Thu, 1 Feb 2024 20:44:21 +0000 Subject: [PATCH] comment try catch --- examples/solar-monitoring.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/solar-monitoring.py b/examples/solar-monitoring.py index 0f34bec..5ea62fa 100644 --- a/examples/solar-monitoring.py +++ b/examples/solar-monitoring.py @@ -133,15 +133,15 @@ def run(): logging.info("house power: " + str(house_power)) logging.info("car soc: " + str(car_soc)) logging.info("charge point power: " + str(charge_point_power)) - try: - monitor(charge_point_power) - except IOError as e: - logging.info(e) + #try: + monitor(charge_point_power) + #except IOError as e: + # logging.info(e) - except KeyboardInterrupt: - logging.info("ctrl + c:") - epd2in13b_V3.epdconfig.module_exit() - exit() + #except KeyboardInterrupt: + # logging.info("ctrl + c:") + # epd2in13b_V3.epdconfig.module_exit() + # exit() if __name__ == '__main__':