ソースを参照

corrected a bug with None tag columns

tanja 4 年 前
コミット
a5acfc6b38
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  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: