pull/26/head
ibuler 2015-11-26 17:10:09 +08:00
parent 46245ab4aa
commit 5045d66c1c
1 changed files with 0 additions and 2 deletions

View File

@ -44,11 +44,9 @@ def scriptToJSON(scriptf, timing=None):
offset = 0
for t in timing:
dt = scriptf.read(t[1])
print "## %s: %s" % (t, dt)
data = escapeString(dt)
offset += t[0]
ret.append((data, offset))
print ret
return dumps(ret)