From 18650e6fca082aead8a49e84f519c33d11964b1e Mon Sep 17 00:00:00 2001 From: Jean-Baptiste LE STANG Date: Tue, 30 Jan 2018 10:07:19 +0100 Subject: [PATCH] Making Flake8 happy --- freqtrade/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/misc.py b/freqtrade/misc.py index befe63b12..39f675e12 100644 --- a/freqtrade/misc.py +++ b/freqtrade/misc.py @@ -115,7 +115,7 @@ def throttle(func: Callable[..., Any], min_secs: float, *args, **kwargs) -> Any: :return: Any """ start = time.time() - (result, extra_time) = func(*args, **kwargs) + (result, extra_time) = func(*args, **kwargs) end = time.time() duration = max(max(min_secs - (end - start), 0.0), extra_time) logger.debug('Throttling %s for %.2f seconds', func.__name__, duration)