Removed offset math for now

This commit is contained in:
Jamie Hardt
2019-10-08 11:34:56 -07:00
parent 0c64403819
commit 0162ad9b2e
3 changed files with 20 additions and 35 deletions

View File

@@ -2,7 +2,7 @@ import ptulsconv
import json
import sys
def convert(input_file, convert_times, apply_session_start, output=sys.stdout):
def convert(input_file, convert_times, output=sys.stdout):
parsed = dict()
with open(input_file, 'r') as file:
ast = ptulsconv.protools_text_export_grammar.parse(file.read())
@@ -11,7 +11,6 @@ def convert(input_file, convert_times, apply_session_start, output=sys.stdout):
if convert_times:
xform = ptulsconv.transformations.TimecodeInterpreter()
xform.apply_session_start = apply_session_start
parsed = xform.transform(parsed)
json.dump(parsed, output)