From ef1c816483e7c32773b66551b35ed5d98830dc2c Mon Sep 17 00:00:00 2001 From: lededev Date: Tue, 28 Sep 2021 17:55:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BF=90=E8=A1=8C=E8=AE=A1?= =?UTF-8?q?=E6=97=B6=E4=B8=BA=E6=97=B6=E5=88=86=E7=A7=92=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=8F=AF=E8=AF=BB=E6=80=A7=EF=BC=8C=E5=B0=8F=E6=95=B0=E7=82=B9?= =?UTF-8?q?=E4=BF=9D=E7=95=993=E4=BD=8D=E4=BB=A5=E4=BE=BF=E5=8C=BA?= =?UTF-8?q?=E5=88=86=E5=AE=9A=E4=BD=8D=E5=88=B0=E7=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AV_Data_Capture.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AV_Data_Capture.py b/AV_Data_Capture.py index c960959..b7ab406 100755 --- a/AV_Data_Capture.py +++ b/AV_Data_Capture.py @@ -8,7 +8,7 @@ import typing import urllib3 import config -from datetime import datetime +from datetime import datetime, timedelta import time from pathlib import Path from ADC_function import file_modification_days, get_html, is_link @@ -343,8 +343,8 @@ f'[!]运行模式:**维护模式**,本程序将在处理{count_all}个视频 rm_empty_folder(folder_path) end_time = time.time() - total_time = end_time - start_time - print("[+]Used " + str(round(total_time,2)) + "s") + total_time = str(timedelta(seconds=end_time - start_time)) + print("[+]Running time", total_time[:len(total_time) if total_time.rfind('.') < 0 else -3]) print("[+]All finished!!!") if not (conf.auto_exit() or auto_exit):