Make Category class match new Puzzle.__init__

This commit is contained in:
Neale Pickett 2016-10-18 16:01:10 -06:00
parent 030969d190
commit 2a7853dba9
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ class Category:
def puzzle(self, points): def puzzle(self, points):
path = os.path.join(self.path, str(points)) path = os.path.join(self.path, str(points))
return Puzzle(path, self.seed) return Puzzle(self.seed, path)
def puzzles(self): def puzzles(self):
for points in self.pointvals: for points in self.pointvals: