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: