浏览代码

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

Anna Petrasova 4 年之前
父节点
当前提交
e750701c9d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/python/temporal/register.py

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

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