mirror of
https://github.com/iluvcapra/ptulsconv.git
synced 2026-01-01 09:20:49 +00:00
Removed offset math for now
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user