Fix log error
This commit is contained in:
parent
339eaaa13a
commit
9dc691f558
1 changed files with 1 additions and 2 deletions
|
@ -809,8 +809,7 @@ def LogTime(func):
|
|||
starttotal = datetime.now()
|
||||
result = func(*args, **kwargs)
|
||||
elapsedtotal = datetime.now() - starttotal
|
||||
log.debug('%s %s' % (addonName, func.__name__),
|
||||
'It took %s to run the function.' % (elapsedtotal))
|
||||
log.debug('It took %s to run the function.' % (elapsedtotal))
|
||||
return result
|
||||
return wrapper
|
||||
|
||||
|
|
Loading…
Reference in a new issue