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)