fix predictions list

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-08-27 07:28:27 -04:00
parent 19d9b32e5a
commit a58a23e359
+1 -1
View File
@@ -81,7 +81,7 @@ def get_prediction(coin):
# print(forecast_data_orig)
d = forecast_data_orig['yhat'].to_dict()
predictions = {}
predictions = []
for i, k in enumerate(list(d.keys())[-6:]):
w = maya.when(f'{61*i} minutes from now')
predictions.append({