Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Athesdrake committed Sep 22, 2024
1 parent 240891d commit 4d9e6b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aiotfm/room.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,12 @@ def get_player(self, default: Optional[Any] = None, **kwargs) -> Union[Player, A

def filter_(p):
return p == value

elif identifier == "id":

def filter_(p):
return p.id == int(value)

elif identifier == "pid":
return self.players.get(int(value), default)
else:
Expand Down

0 comments on commit 4d9e6b0

Please sign in to comment.