From 9dc691f5585b8e0857d95d669b5d5422095ccea4 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Sun, 4 Sep 2016 17:00:13 +0200 Subject: [PATCH] Fix log error --- resources/lib/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/lib/utils.py b/resources/lib/utils.py index 3c98e904..a300b1af 100644 --- a/resources/lib/utils.py +++ b/resources/lib/utils.py @@ -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