Explorar o código

corrected a bug with None tag columns

tanja %!s(int64=4) %!d(string=hai) anos
pai
achega
a5acfc6b38
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cdplib/db_handlers/InfluxdbHandler.py

+ 1 - 1
cdplib/db_handlers/InfluxdbHandler.py

@@ -161,7 +161,7 @@ class InfluxdbHandler:
         """
         
         measurement_columns = [c for c in dataframe.columns
-                               if c not in tag_columns]
+                               if c not in (tag_columns or [])]
         
         for column in measurement_columns:
             try: