Skip to content

Commit 3b6ac87

Browse files
committed
Fix incorrect name in Character constructor argument
1 parent d21c48b commit 3b6ac87

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ Changelog
66
Due to this library relying on external content, older versions are not guaranteed to work.
77
Try to always use the latest version.
88

9+
.. _v2.4.1:
10+
2.4.1 (2019-11-20)
11+
==================
12+
- Fixed incorrect argument name (house) in ``Character`` constructor.
13+
914
.. _v2.4.0:
1015
2.4.0 (2019-11-20)
1116
==================

tibiapy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from tibiapy.creature import *
1414
from tibiapy.client import *
1515

16-
__version__ = '2.4.0'
16+
__version__ = '2.4.1'
1717

1818
from logging import NullHandler
1919

tibiapy/character.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def __init__(self, name=None, world=None, vocation=None, level=0, sex=None, **kw
223223
self.former_world = kwargs.get("former_world") # type: Optional[str]
224224
self.residence = kwargs.get("residence") # type: str
225225
self.married_to = kwargs.get("married_to") # type: Optional[str]
226-
self.houses = kwargs.get("house", []) # type: List[CharacterHouse]
226+
self.houses = kwargs.get("houses", []) # type: List[CharacterHouse]
227227
self.guild_membership = kwargs.get("guild_membership") # type: Optional[GuildMembership]
228228
self.last_login = try_datetime(kwargs.get("last_login"))
229229
self.account_status = try_enum(AccountStatus, kwargs.get("account_status"))

0 commit comments

Comments
 (0)