From cc09f7a5d603b42efaef16038a43beec4451a299 Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Thu, 22 Sep 2016 13:28:46 +0300 Subject: [PATCH] Remove an assertion that did harm. See https://github.com/shlomif/PySolFC/issues/12 . --- pysollib/game.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pysollib/game.py b/pysollib/game.py index fffb6131..499273d6 100644 --- a/pysollib/game.py +++ b/pysollib/game.py @@ -511,13 +511,6 @@ class Game: # let's go self.moves.state = self.S_INIT self.startGame() - if self.gameinfo.si.game_flags & GI.GT_OPEN: - if self.s.talon: - assert len(self.s.talon.cards) == 0 - for stack in self.allstacks: - if stack.is_visible: - for c in stack.cards: - assert c.face_up self.startMoves() for stack in self.allstacks: stack.updateText()