]> kaliko git repositories - mpd-sima.git/blobdiff - sima/lib/track.py
Cleanup linter warnings
[mpd-sima.git] / sima / lib / track.py
index 0fd65e8152b08377f34d0b80444e85421733cf57..38f0cab3ec2841ef93c9fb7f1454b91bccdbc8c8 100644 (file)
@@ -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)