From ed3ab5dc4f10790fe5487f52c92d331ce85d55fa Mon Sep 17 00:00:00 2001 From: JerryYan <792602257@qq.com> Date: Sat, 27 Apr 2019 22:11:51 +0800 Subject: [PATCH] time fix --- Common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common.py b/Common.py index 1311972..ef82ba9 100644 --- a/Common.py +++ b/Common.py @@ -46,7 +46,7 @@ def getTimeDelta(a, b): def _doClean(): global _do_move_time _disk = psutil.disk_usage(".") - if _disk.percent > config["max"] and getTimeDelta(datetime.now(), _do_move_time) > 3600: + if _disk.percent > config["max"] and getTimeDelta(datetime.now(), _do_move_time) > 7200: _do_move_time = datetime.now() os.system(config["dow"])