From e70b05a5294ef1fd9ba3b06f20f3b54c74de8989 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E5=85=89-k?= <36470587+kxgx@users.noreply.github.com> Date: Fri, 17 Jan 2025 07:08:17 +0800 Subject: [PATCH] Update main.py --- bin/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/main.py b/bin/main.py index d50fad9..3412bec 100644 --- a/bin/main.py +++ b/bin/main.py @@ -232,7 +232,7 @@ try: except OSError as e: logging.info(e) except KeyboardInterrupt: - logging.info("检测到键盘中断,正在优雅地退出") + logging.info("检测到键盘中断,正在清理并退出") epd.init() epd.Clear(0xFF) # 清除屏幕内容 epd.sleep() # 使屏幕进入休眠状态 @@ -252,4 +252,4 @@ epd.init() epd.Clear(0xFF) # 清除屏幕内容 epd.sleep() # 使屏幕进入休眠状态 epd2in13_V4.epdconfig.module_exit() # 清理资源 -exit() \ No newline at end of file +exit()