Skip to content

Commit

Permalink
chore: update CFeatures
Browse files Browse the repository at this point in the history
  • Loading branch information
Vespa314 committed Dec 13, 2023
1 parent 1e6a533 commit d5822d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ChanModel/Features.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ class CFeatures:
def __init__(self, initFeat=None):
self.__features = {} if initFeat is None else dict(initFeat)

def toJson(self):
return self.__features
def items(self):
yield from self.__features.items()

def __getitem__(self, k):
return self.__features[k]
Expand Down

0 comments on commit d5822d0

Please sign in to comment.