fix bug in find-files

This commit is contained in:
Matthias 2019-12-25 10:25:30 +01:00
parent 3d4f62081e
commit 2a728ee68f

View File

@ -42,8 +42,7 @@ class JsonDataHandler(IDataHandler):
Load data for one pair Load data for one pair
:return: Dataframe :return: Dataframe
""" """
filename = JsonDataHandler._pair_data_filename(self.datadir, self._pair, filename = JsonDataHandler._pair_data_filename(self._datadir, self._pair, timeframe)
self._pair, timeframe)
pairdata = misc.file_load_json(filename) pairdata = misc.file_load_json(filename)
if not pairdata: if not pairdata:
return [] return []