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()
|
starttotal = datetime.now()
|
||||||
result = func(*args, **kwargs)
|
result = func(*args, **kwargs)
|
||||||
elapsedtotal = datetime.now() - starttotal
|
elapsedtotal = datetime.now() - starttotal
|
||||||
log.debug('%s %s' % (addonName, func.__name__),
|
log.debug('It took %s to run the function.' % (elapsedtotal))
|
||||||
'It took %s to run the function.' % (elapsedtotal))
|
|
||||||
return result
|
return result
|
||||||
return wrapper
|
return wrapper
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue