From 24cc23adcbb57271a7fa4629beaf8b4617f23fcf Mon Sep 17 00:00:00 2001 From: Neville Ryant Date: Thu, 15 Feb 2018 17:45:51 -0500 Subject: [PATCH] BUG: Python 2/3 compatibility. --- scorelib/rttm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scorelib/rttm.py b/scorelib/rttm.py index 740728c..a1fe32e 100644 --- a/scorelib/rttm.py +++ b/scorelib/rttm.py @@ -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)