mirror of https://github.com/dirtbags/moth.git
chdir to category before calling catmod.make()
This commit is contained in:
parent
026d5d6c74
commit
5128a72842
|
@ -194,6 +194,7 @@ class Category:
|
|||
puzzle = Puzzle(self.seed, points)
|
||||
path = os.path.join(self.path, str(points))
|
||||
if self.catmod:
|
||||
with pushd(self.path):
|
||||
self.catmod.make(points, puzzle)
|
||||
else:
|
||||
puzzle.read_directory(path)
|
||||
|
|
Loading…
Reference in New Issue