remove spurious space

This commit is contained in:
Colin McMillen 2019-10-03 17:18:31 -04:00
parent cfe3065077
commit 1f69362489

View File

@ -307,7 +307,7 @@ def stitch_sprites(metadata, filename_base):
json_filename = os.path.expanduser(filename_base) + '.js' json_filename = os.path.expanduser(filename_base) + '.js'
print('saving json to', json_filename) print('saving json to', json_filename)
with open(json_filename, 'w') as json_file: with open(json_filename, 'w') as json_file:
json_file.write(' const spritesheet_json = ') json_file.write('const spritesheet_json = ')
json.dump(output_json, json_file, sort_keys=True, indent=2) json.dump(output_json, json_file, sort_keys=True, indent=2)
json_file.write(';') json_file.write(';')