This commit is contained in:
robert 2024-01-31 23:38:25 +00:00
parent 055d58bc34
commit 2ba9f2798b
1 changed files with 2 additions and 3 deletions

View File

@ -107,8 +107,6 @@ def run():
logging.info("Goto Sleep...") logging.info("Goto Sleep...")
epd.sleep() epd.sleep()
client.loop_forever()
except IOError as e: except IOError as e:
logging.info(e) logging.info(e)
@ -117,7 +115,8 @@ def run():
logging.info("ctrl + c:") logging.info("ctrl + c:")
epd2in13b_V3.epdconfig.module_exit() epd2in13b_V3.epdconfig.module_exit()
exit() exit()
client.loop_forever()
if __name__ == '__main__': if __name__ == '__main__':