Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change BaseTrack attributes to Object attributes
All the attributes are used after object initialisation only, so there is no reason to keep them as Class attributes. Keeping them as class attributes instead causes ifzhang#79 This should fix ifzhang#79 and should not affect any other part. Have checked that we always call `self.next_id()` and never call `BaseTrack.next_id()` i.e., no need for it to be a static method anymore, since all the attributes are now object attributes.
- Loading branch information