Explorar o código

fix ratios key

stanley-king %!s(int64=3) %!d(string=hai) anos
pai
achega
346c05c81c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)