Fixes the eq comparison of the Tag object to work with a None type

This commit is contained in:
Andy Clymer 2018-04-03 14:54:39 -04:00
parent 5db9309167
commit 241a4474b4

View File

@ -157,7 +157,7 @@ else:
def __ne__(self, other):
return not self.__eq__(other)
def __eq__(self, other):
return str.__eq__(self, self.transcode(other))
return str.__eq__(self, other)
def __hash__(self):
return str.__hash__(self)