remove unnecessary else

This commit is contained in:
Janne Sinivirta 2018-01-26 18:41:41 +02:00
parent f33923c784
commit 95ab7c84bc

View File

@ -22,8 +22,8 @@ def trim_tickerlist(tickerlist, timerange):
return tickerlist[0:start] return tickerlist[0:start]
elif stype == ('index', 'index'): elif stype == ('index', 'index'):
return tickerlist[start:stop] return tickerlist[start:stop]
else:
return tickerlist return tickerlist
def load_tickerdata_file(datadir, pair, ticker_interval, def load_tickerdata_file(datadir, pair, ticker_interval,