From b48430f9221c33407dc6c35d890ba916a0876a8a Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 19 Jan 2019 20:21:33 +0100 Subject: [PATCH] Return list not None --- freqtrade/exchange/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/exchange/__init__.py b/freqtrade/exchange/__init__.py index b8d32306e..e0e4d7723 100644 --- a/freqtrade/exchange/__init__.py +++ b/freqtrade/exchange/__init__.py @@ -588,7 +588,7 @@ class Exchange(object): data = sorted(data, key=lambda x: x[0]) except IndexError: logger.exception("Error loading %s. Result was %s.", pair, data) - return pair, None + return pair, [] logger.debug("done fetching %s ...", pair) return pair, data