mirror of https://github.com/dirtbags/moth.git
error with writing puzzle
This commit is contained in:
parent
3065598dee
commit
d70d4bf4d2
|
@ -110,7 +110,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
# non-optimal writing of file-like objects, but it works
|
# non-optimal writing of file-like objects, but it works
|
||||||
zf.writestr(os.path.join(puzzledir, 'puzzle.json'), \
|
zf.writestr(os.path.join(puzzledir, 'puzzle.json'), \
|
||||||
json.dumps(puzzle.publish()))
|
json.dumps(puzzlejson))
|
||||||
|
|
||||||
# clean up
|
# clean up
|
||||||
zf.close()
|
zf.close()
|
||||||
|
|
Loading…
Reference in New Issue