Skip to content

Commit

Permalink
Fetch properties from correct object to fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
pak21 committed Feb 6, 2019
1 parent 2d64ad3 commit ddb58ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions boardgamegeek/objects/games.py
Expand Up @@ -1056,7 +1056,7 @@ def users_wanting(self):
:rtype: integer
:return: ``None`` if n/a
"""
return self._data.get("wanting")
return self._stats.users_wanting

@property
def users_wishing(self):
Expand All @@ -1065,7 +1065,7 @@ def users_wishing(self):
:rtype: integer
:return: ``None`` if n/a
"""
return self._data.get("wishing")
return self._stats.users_wishing

@property
def users_commented(self):
Expand All @@ -1074,7 +1074,7 @@ def users_commented(self):
:rtype: integer
:return: ``None`` if n/a
"""
return self._data.get("numcomments")
return self._stats.users_commented

@property
def rating_num_weights(self):
Expand Down

0 comments on commit ddb58ae

Please sign in to comment.