Commits

Janto Dreijer committed 2f10762 Draft

fix type

  • Participants
  • Parent commits a61a4ab
  • Tags submit

Comments (0)

Files changed (1)

         for line in lines:
             parts = line.strip().split(" ")
             if len(parts) == 2:
-                key, value = items
+                key, value = parts
                 meta[key.lower()] = int(value)
             else:
-                meta["trampolines"][items[1]]=items[3]
+                meta["trampolines"][parts[1]]=parts[3]
         return cls.load_from_textlines(textlines=textlines, meta=meta)
 
     @classmethod