diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-13 10:35:19 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-13 10:35:19 -0700 |
commit | c287fb89813f54fbff42265d803d57793c59bdaa (patch) | |
tree | 1d51c0478f839dac95ad02874105eca3b855f3c4 | |
parent | 3f3505046f292d48af55a2924a47a78151e72ad4 (diff) |
simplify file2json
-rw-r--r-- | tools/file2json.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/file2json.py b/tools/file2json.py index 19f32e17..65547e72 100644 --- a/tools/file2json.py +++ b/tools/file2json.py @@ -22,6 +22,5 @@ while len(sdata) > 0: if len(sdata) > 0: lined += ['\n'] json = '[' + ''.join(lined) + ']' - -print 'var ' + sys.argv[2] + '=' + json + ';' +print json |