Commits

David Boddie  committed 12c0920

Fixed the save method to write correct values for the data length field.

  • Participants
  • Parent commits 63f2e77

Comments (0)

Files changed (1)

         self._data += "\x00\x00"
         
         self._data += struct.pack("<I", self.threads)
-        self._data += struct.pack("<I", start + len(thread_data))
+        self._data += struct.pack("<I", len(thread_data))
         
         if self.hoop_name == "A":
             self._data += struct.pack("<I", 0)