Explorar el Código

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

Anna Petrasova hace 4 años
padre
commit
59dc7cf8e8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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