X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Flib%2Ftrack.py;fp=sima%2Flib%2Ftrack.py;h=38f0cab3ec2841ef93c9fb7f1454b91bccdbc8c8;hb=4ea8f2fe3f29fe09e7a3ab60ac781d54841db5bb;hp=0fd65e8152b08377f34d0b80444e85421733cf57;hpb=c806cb3dbeee61c9c4d023f75a862a33d32ef026;p=mpd-sima.git diff --git a/sima/lib/track.py b/sima/lib/track.py index 0fd65e8..38f0cab 100644 --- a/sima/lib/track.py +++ b/sima/lib/track.py @@ -95,8 +95,7 @@ class Track: def __hash__(self): if self.file: return hash(self.file) - else: - return id(self) + return id(self) def __eq__(self, other): return hash(self) == hash(other)