From 0114fe774dbf2b0dca06aa3ec1f67382c348107c Mon Sep 17 00:00:00 2001 From: Karho Date: Fri, 17 Feb 2017 11:45:53 +0800 Subject: [PATCH] Update game.py Using set()) instead of list in self.joined_before --- game.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game.py b/game.py index d0ee805..56bc1c1 100644 --- a/game.py +++ b/game.py @@ -40,7 +40,7 @@ class Game(object): def __init__(self, chat): self.chat = chat self.last_card = None - self.joined_before = [] #FIXME: Change it as set() + self.joined_before = set() #FIXME: Change it as set() while not self.last_card or self.last_card.special: self.deck = Deck()