Added a channel map test, fixed some bugs reading audio channels

This commit is contained in:
Jamie Hardt
2018-12-01 12:34:38 -08:00
parent f8ab99226b
commit 1e7aea30d4
4 changed files with 13 additions and 11 deletions

View File

@@ -21,7 +21,7 @@ StmtUnrecognized = namedtuple("Unrecognized",["content"])
def parse_cmx3600_statements(path):
with open(path,'rU') as file:
with open(path,'r') as file:
lines = file.readlines()
return [parse_cmx3600_line(line.strip()) for line in lines]