Skip to content

Commit

Permalink
_encoded_objects need to be a dict to add to
Browse files Browse the repository at this point in the history
  • Loading branch information
eberrigan committed Sep 21, 2024
1 parent dd4865d commit f66a12d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sleap/skeleton.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class SkeletonEncoder:
"""

def __init__(self):
self._encoded_strings: str = ""
self._encoded_objects: dict = {}

@classmethod
def encode(cls, data: dict) -> str:
Expand All @@ -133,7 +133,7 @@ def encode(cls, data: dict) -> str:
return encoder._encode(data)

def _encode(self, data: dict) -> str:


def _encode_node(self, node: Node) -> dict:
"""Encode a `Node` object to a dictionary.
Expand Down

0 comments on commit f66a12d

Please sign in to comment.