From 856a421ed9dbbbca63f985b35be2a9738f40b121 Mon Sep 17 00:00:00 2001 From: Joe Anderson Date: Sat, 5 Jul 2014 14:31:06 -0500 Subject: Fixed generator.py to not alter first card --- generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator.py b/generator.py index dd89f4f..d0519ec 100755 --- a/generator.py +++ b/generator.py @@ -174,7 +174,7 @@ class Tableau: self.revertToLen(len(self.tableau) - 1) while not self.increment(): del self.tableau[-1] - if len(self.tableau) == 0: + if len(self.tableau) == 1: exit() # Iteration Complete self.revertToLen(len(self.tableau) - 1) del self.tableau[-2] -- cgit v1.2.3-70-g09d2