瀏覽代碼

t.register: strip newline from list of maps to avoid error (#1295)

Anna Petrasova 4 年之前
父節點
當前提交
59dc7cf8e8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/python/temporal/register.py

+ 1 - 1
lib/python/temporal/register.py

@@ -139,7 +139,7 @@ def register_maps_in_space_time_dataset(
 
         line = True
         while True:
-            line = fd.readline()
+            line = fd.readline().strip()
             if not line:
                 break