Selaa lähdekoodia

fix ratios key

stanley-king 3 vuotta sitten
vanhempi
commit
346c05c81c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      plot/DataCenter.py

+ 1 - 1
plot/DataCenter.py

@@ -373,7 +373,7 @@ class DataCenter(object):
             start_pos = start_time - day_stamp
             end_pos = end_time - day_stamp
 
-            result = {time: end_time}
+            result = {'time': end_time}
 
             ratios = {}
             filer_text, paths = self.datasets(hfive, start_time)