From 2932c2af1f587c7e7782d0ed14190849567df89a Mon Sep 17 00:00:00 2001 From: starnakin Date: Sun, 24 Dec 2023 15:37:31 +0100 Subject: [PATCH] abstract room: append: fix: use right var --- transcendence/abstract/AbstractRoom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transcendence/abstract/AbstractRoom.py b/transcendence/abstract/AbstractRoom.py index 09b202b..7c1c87f 100644 --- a/transcendence/abstract/AbstractRoom.py +++ b/transcendence/abstract/AbstractRoom.py @@ -32,7 +32,7 @@ class AbstractRoom: def append(self, member: AbstractRoomMember): - self._member_list.append(waiter) + self._member_list.append(member) member.accept() def remove(self, member: AbstractRoomMember, code: int = 1000):