mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2025-01-06 13:29:41 +00:00
Changed get_comment to return empty string instead of None
This commit is contained in:
parent
9835c0521f
commit
218cfeafe8
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user