fix multiple formating problems

This commit is contained in:
Yannik Schmidt
2019-05-09 21:40:32 +02:00
parent 34cb4d526b
commit e74c11855e

View File

@@ -30,10 +30,8 @@ class ActivePlayersEvent(Event):
self.timestamp = timestamp
self.players = []
self.string = player_str
#print(player_str)
try:
for s in player_str.split(","):
#print(s)
if not s or len(s.split("|"))==1:
continue
steamid = s.split("|")[1]