From 713aab879507aef2c402fcbc681f39ea75a3cca8 Mon Sep 17 00:00:00 2001 From: Reid Pryzant Date: Fri, 24 Mar 2017 07:44:41 -0700 Subject: [PATCH] Update srtitem.py I think this error would be a little more helpful if it gave the root cause of the problem (python2) too --- pysrt/srtitem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pysrt/srtitem.py b/pysrt/srtitem.py index 5597905..55a15ca 100644 --- a/pysrt/srtitem.py +++ b/pysrt/srtitem.py @@ -58,7 +58,7 @@ def __str__(self): __unicode__ = __str__ def __str__(self): - raise NotImplementedError('Use unicode() instead!') + raise NotImplementedError('Use unicode() instead for python 2!') def _cmpkey(self): return (self.start, self.end)