Commit e2e8de3d authored by 段英荣's avatar 段英荣

modify

parent 254f5414
......@@ -31,7 +31,7 @@ class TopicDocumentField(object):
def time_consuming_decorator(func):
def time_consuming(*args, **kwargs):
start_time = time.time()
func(args,kwargs)
func(*args,**kwargs)
end_time = time.time()
logging.info("func consuming time:%fs" % (end_time-start_time))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment