From 95ab7c84bcfa837e0709481cdfdd9325b48850b9 Mon Sep 17 00:00:00 2001 From: Janne Sinivirta Date: Fri, 26 Jan 2018 18:41:41 +0200 Subject: [PATCH] remove unnecessary else --- freqtrade/optimize/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/optimize/__init__.py b/freqtrade/optimize/__init__.py index 08630af40..a0eb5b8a2 100644 --- a/freqtrade/optimize/__init__.py +++ b/freqtrade/optimize/__init__.py @@ -22,8 +22,8 @@ def trim_tickerlist(tickerlist, timerange): return tickerlist[0:start] elif stype == ('index', 'index'): return tickerlist[start:stop] - else: - return tickerlist + + return tickerlist def load_tickerdata_file(datadir, pair, ticker_interval,