mirror of
https://github.com/kennethreitz/coinbin.org.git
synced 2026-06-05 23:10:17 +00:00
fix predictions list
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
+1
-1
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user