From 1d86f88f4825aa3c5797bca7c84a3fd562bfa6f2 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 6 Nov 2020 11:30:56 +0800 Subject: [PATCH] bugfix --- ahserver/processorResource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ahserver/processorResource.py b/ahserver/processorResource.py index 4b6d3d5..bdecbb4 100644 --- a/ahserver/processorResource.py +++ b/ahserver/processorResource.py @@ -122,7 +122,7 @@ class ProcessorResource(StaticResource,Url2File): t = TimeCost(name) with t: x = self._handle1(request) - print(name,':', 'time cost=', t.end_time = t.begin_time) + print(name,':', 'time cost=', t.end_time - t.begin_time) return x async def _handle1(self,request:Request) -> StreamResponse: