mirror of https://github.com/dirtbags/moth.git
error with writing puzzle
This commit is contained in:
parent
dc899116f1
commit
eb05cf77fd
|
@ -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