Fix test crash

This commit is contained in:
Matthias 2018-07-09 22:11:12 +02:00
parent 570d27a0c4
commit 85c60519b0

View File

@ -70,6 +70,7 @@ class Exchange(object):
# Check if all pairs are available # Check if all pairs are available
self.validate_pairs(config['exchange']['pair_whitelist']) self.validate_pairs(config['exchange']['pair_whitelist'])
if config.get('ticker_interval'):
# Check if timeframe is available # Check if timeframe is available
self.validate_timeframes(config['ticker_interval']) self.validate_timeframes(config['ticker_interval'])