From f786c00bb335dd32f35b3d3f426b5ad552de5208 Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Mon, 4 Jan 2016 00:51:04 +0000 Subject: [PATCH] fix steamid steam3 char bug --- steam/steamid.py | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/steam/steamid.py b/steam/steamid.py index a22649f..65a5e47 100644 --- a/steam/steamid.py +++ b/steam/steamid.py @@ -3,18 +3,21 @@ from steam.enums.base import SteamIntEnum from steam.enums import EType, EUniverse class ETypeChar(SteamIntEnum): - I = EType.Invalid - U = EType.Individual - M = EType.Multiseat - G = EType.GameServer - A = EType.AnonGameServer - P = EType.Pending - C = EType.ContentServer - g = EType.Clan - T = EType.Chat - c = EType.Chat - L = EType.Chat - a = EType.AnonUser + I = EType.Invalid + U = EType.Individual + M = EType.Multiseat + G = EType.GameServer + A = EType.AnonGameServer + P = EType.Pending + C = EType.ContentServer + g = EType.Clan + T = EType.Chat + c = EType.Chat + L = EType.Chat + a = EType.AnonUser + + def __str__(self): + return self.name ETypeChars = ''.join(map(str, list(ETypeChar)))