Commit 5045d66c authored by ibuler's avatar ibuler

fix

parent 46245ab4
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment