stanley-king 2 anni fa
parent
commit
f6557a00ab
1 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  1. 6 1
      plot/refill/ChannelReader.py

+ 6 - 1
plot/refill/ChannelReader.py

@@ -70,7 +70,12 @@ class ChannelReader(DataReadStream):
                     r[name].union(set(ls))
                 else:
                     r[name] = set(ls)
-            return r
+
+            result = defaultdict(set)
+            for name,ls in l.items():
+                result[name] = ls
+                
+            return result
 
         stime = lambda t: time.strftime('%d-%H:%M:%S', time.localtime(t))