From 218cfeafe8ac495411713d8e0391a0e1170fe579 Mon Sep 17 00:00:00 2001 From: Rob McMullen Date: Sat, 9 Apr 2016 16:34:08 -0700 Subject: [PATCH] Changed get_comment to return empty string instead of None --- atrcopy/segments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atrcopy/segments.py b/atrcopy/segments.py index 238cc3c..8416e0d 100644 --- a/atrcopy/segments.py +++ b/atrcopy/segments.py @@ -271,7 +271,7 @@ class DefaultSegment(object): def get_comment(self, index): rawindex = self.get_raw_index(index) - return self.rawdata.comments.get(rawindex, None) + return self.rawdata.comments.get(rawindex, "") def label(self, index, lower_case=True): if lower_case: