Ver código fonte

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

Anna Petrasova 4 anos atrás
pai
commit
59dc7cf8e8
1 arquivos alterados com 1 adições e 1 exclusões
  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