mirror of https://github.com/dirtbags/moth.git
Make Category class match new Puzzle.__init__
This commit is contained in:
parent
030969d190
commit
2a7853dba9
|
@ -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