From d957e4f3e6331ba734918643477b8bc218dcf387 Mon Sep 17 00:00:00 2001 From: wangchunlin Date: Sun, 23 Jun 2024 23:08:34 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=88=A0=E9=99=A4=E5=8E=86?= =?UTF-8?q?=E5=8F=B2=E6=97=A5=E5=BF=97=E7=9A=84=E6=89=93=E5=8D=B0=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- psy_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psy_api.py b/psy_api.py index 32d7ee2..75508b9 100644 --- a/psy_api.py +++ b/psy_api.py @@ -87,7 +87,7 @@ def clean_old_files(directory, days=DAYS): file_path = os.path.join(root, file) if os.path.getmtime(file_path) < cutoff: os.remove(file_path) - log_print(f"Removed old file: {file_path}") + print(f"Removed old file: {file_path}") # 定期清理任务 def schedule_cleanup():