From a58a23e359f9d29f3104f44e89345e96421c29cf Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 27 Aug 2017 07:28:27 -0400 Subject: [PATCH] fix predictions list Signed-off-by: Kenneth Reitz --- predictions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/predictions.py b/predictions.py index b37a227..a790071 100644 --- a/predictions.py +++ b/predictions.py @@ -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({