From 97c957d055800d3debf3a5c0fbf5a277c61d4570 Mon Sep 17 00:00:00 2001 From: Juhani Numminen Date: Tue, 11 Feb 2020 22:08:55 +0200 Subject: [PATCH] Fix whitespace in pyramid.py --- pysollib/games/pyramid.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pysollib/games/pyramid.py b/pysollib/games/pyramid.py index 0cc86032..dbf920ec 100644 --- a/pysollib/games/pyramid.py +++ b/pysollib/games/pyramid.py @@ -83,9 +83,9 @@ class Pyramid_StackMethods: if not self.game.demo: self.game.playSample("droppair", priority=200) if not (n == 1 - and other_stack.cards - and self.acceptsCards(other_stack, [other_stack.cards[-1]])): - return + and other_stack.cards + and self.acceptsCards(other_stack, [other_stack.cards[-1]])): + return old_state = self.game.enterState(self.game.S_FILL) f = self.game.s.foundations[0] self.game.moveMove(n, self, f, frames=frames, shadow=shadow)