diff options
author | Joe Anderson <jandew+dev@gmail.com> | 2014-07-05 14:31:06 -0500 |
---|---|---|
committer | Joe Anderson <jandew+dev@gmail.com> | 2014-07-05 14:31:06 -0500 |
commit | 856a421ed9dbbbca63f985b35be2a9738f40b121 (patch) | |
tree | a39bcb2a17d313e9e667591dee1bc357e743e363 | |
parent | 289a5e12e71873621ddc918956172c06e84c9340 (diff) | |
download | capset-856a421ed9dbbbca63f985b35be2a9738f40b121.tar.gz capset-856a421ed9dbbbca63f985b35be2a9738f40b121.zip |
Fixed generator.py to not alter first card
-rwxr-xr-x | generator.py | 2 |
1 files changed, 1 insertions, 1 deletions
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] |