mirror of
https://github.com/FAUSheppy/skillbird
synced 2026-01-21 22:07:38 +01:00
fix multiple formating problems
This commit is contained in:
@@ -30,10 +30,8 @@ class ActivePlayersEvent(Event):
|
|||||||
self.timestamp = timestamp
|
self.timestamp = timestamp
|
||||||
self.players = []
|
self.players = []
|
||||||
self.string = player_str
|
self.string = player_str
|
||||||
#print(player_str)
|
|
||||||
try:
|
try:
|
||||||
for s in player_str.split(","):
|
for s in player_str.split(","):
|
||||||
#print(s)
|
|
||||||
if not s or len(s.split("|"))==1:
|
if not s or len(s.split("|"))==1:
|
||||||
continue
|
continue
|
||||||
steamid = s.split("|")[1]
|
steamid = s.split("|")[1]
|
||||||
|
|||||||
Reference in New Issue
Block a user