From 8defb3da5af90d3276d720b5486272f6a31dd6f8 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 2 Oct 2017 14:03:50 +0200 Subject: [PATCH] fix output --- render_gongs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render_gongs.py b/render_gongs.py index 2bbca62..b6d27dc 100755 --- a/render_gongs.py +++ b/render_gongs.py @@ -128,5 +128,5 @@ if __name__ == '__main__': data = get_gongs(seq, {}, duration, tracks) mix_gongs(data, output) with open(output + '.json', 'w') as fd: - json.dump(result, fd, indent=4, sort_keys=True) + json.dump(data, fd, indent=4, sort_keys=True) print('render_gongs of %s took %s' % (output, time.time()-t0))