uncomment try catch

This commit is contained in:
robert 2024-02-01 20:53:36 +00:00
parent e0a436478a
commit 37503c74b5

View File

@ -133,15 +133,15 @@ def run():
logging.info("house power: " + str(house_power)) logging.info("house power: " + str(house_power))
logging.info("car soc: " + str(car_soc)) logging.info("car soc: " + str(car_soc))
logging.info("charge point power: " + str(charge_point_power)) logging.info("charge point power: " + str(charge_point_power))
#try: try:
monitor(charge_point_power) monitor(charge_point_power)
#except IOError as e: except IOError as e:
# logging.info(e) logging.info(e)
#except KeyboardInterrupt: except KeyboardInterrupt:
# logging.info("ctrl + c:") logging.info("ctrl + c:")
# epd2in13b_V3.epdconfig.module_exit() epd2in13b_V3.epdconfig.module_exit()
# exit() exit()
if __name__ == '__main__': if __name__ == '__main__':