byroot / pysrt

Python parser for SubRip (srt) files
GNU General Public License v3.0
451 stars 69 forks source link

Make str() method of SrtItem function properly in both Python 2 and 3 #51

Closed felagund closed 10 years ago

felagund commented 10 years ago

My try to fix https://github.com/byroot/pysrt/issues/50 I am not very happy as printing SubRipItem now raises an exception, but at least it does not fail mysteriously.