mirror of https://github.com/dirtbags/moth.git
Make Category class match new Puzzle.__init__
This commit is contained in:
parent
8971baca27
commit
3262998996
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue