소스 검색

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