Skip to content

Commit

Permalink
BUG: Python 2/3 compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
nryant committed Feb 15, 2018
1 parent 108f279 commit 24cc23a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scorelib/rttm.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def validate_rttm(rttmf):
speaker_ids = set()
error_messages = []
for line in f:
if line.startswith('SPKR-INFO'):
if line.startswith(b'SPKR-INFO'):
continue
try:
turn = _parse_rttm_line(line)
Expand Down

0 comments on commit 24cc23a

Please sign in to comment.