From 91ffae38973faf5f5bcba008ee04235e1887714b Mon Sep 17 00:00:00 2001 From: ngfchl Date: Mon, 29 Aug 2022 07:21:42 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E6=9B=B4=E6=96=B0=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AE=B9=E5=99=A8=E5=90=AF=E5=8A=A8=E6=97=B6?= =?UTF-8?q?=E9=97=B4=EF=BC=8C=E4=BB=A5=E6=8F=90=E7=A4=BA=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E9=87=8D=E5=90=AF=E6=88=90=E5=8A=9F=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- auto_pt/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_pt/views.py b/auto_pt/views.py index a5375d1..24fab3b 100644 --- a/auto_pt/views.py +++ b/auto_pt/views.py @@ -181,7 +181,7 @@ def restart_container(request): update_tips = '已有新版本,请根据需要升级!' return render(request, 'auto_pt/restart.html', context={ - 'delta': delta.total_seconds(), + 'delta': delta.seconds, 'local_logs': get_git_logs(), 'update_notes': get_git_logs(master='origin/master'), 'update': update,