feat: exclude players from analysis that aren't in the team
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user