Browse Source

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

Anna Petrasova 4 năm trước cách đây
mục cha
commit
59dc7cf8e8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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