From 18bccf7dc78c248d0e72a902822ad039433542e3 Mon Sep 17 00:00:00 2001 From: Roderik Ploszek Date: Sat, 14 Apr 2018 09:12:54 +0200 Subject: [PATCH] Fix playable preview of Double Fives --- pysollib/games/glenwood.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pysollib/games/glenwood.py b/pysollib/games/glenwood.py index 7c8a9a33..a2f6d32a 100644 --- a/pysollib/games/glenwood.py +++ b/pysollib/games/glenwood.py @@ -264,7 +264,8 @@ class DoubleFives_Stock(WasteStack): def updateText(self): if self.cards: WasteStack.updateText(self) - else: + elif self.texts.ncards is not None: + # self.texts.ncards is None in playable preview self.texts.ncards.config(text='')