feat: exclude players from analysis that aren't in the team
This commit is contained in:
parent
ba26e7c9e6
commit
2195e7324d
@ -153,6 +153,8 @@ def graph_json(
|
|||||||
)
|
)
|
||||||
|
|
||||||
for c in session.exec(statement2):
|
for c in session.exec(statement2):
|
||||||
|
if c.user not in player_map:
|
||||||
|
continue
|
||||||
user = player_map[c.user]
|
user = player_map[c.user]
|
||||||
for i, p_id in enumerate(c.love):
|
for i, p_id in enumerate(c.love):
|
||||||
if p_id not in player_map:
|
if p_id not in player_map:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user