Fix log error

This commit is contained in:
tomkat83 2016-09-04 17:00:13 +02:00
parent 339eaaa13a
commit 9dc691f558

View file

@ -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