typo
This commit is contained in:
parent
e6410c067b
commit
cd825c9c2c
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class MuJsonLoader(object):
|
||||||
output = json.dumps(self.json, sort_keys=True, indent=4, separators=(',', ': '))
|
output = json.dumps(self.json, sort_keys=True, indent=4, separators=(',', ': '))
|
||||||
with open(path, 'a'):
|
with open(path, 'a'):
|
||||||
pass
|
pass
|
||||||
with open(path, 'r+') as f:
|
with open(path, 'rb+') as f:
|
||||||
f.write(output.encode('utf8'))
|
f.write(output.encode('utf8'))
|
||||||
f.truncate()
|
f.truncate()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue