diff --git a/steam/core/msg.py b/steam/core/msg.py index f1d0a40..2b41bdd 100644 --- a/steam/core/msg.py +++ b/steam/core/msg.py @@ -215,7 +215,7 @@ def get_cmsg(emsg): if emsg == EMsg.Multi: return steammessages_base_pb2.CMsgMulti - emsg = "cmsg" + str(emsg).lower() + emsg = "cmsg" + str(emsg).split('.', 1)[1].lower() if not cmsg_lookup: cmsg_list = steammessages_clientserver_pb2.__dict__ diff --git a/steam/enums/base.py b/steam/enums/base.py index bbbd026..7151e1a 100644 --- a/steam/enums/base.py +++ b/steam/enums/base.py @@ -2,5 +2,4 @@ from enum import IntEnum class SteamIntEnum(IntEnum): - def __str__(self): - return self.name + pass