[gnome-music/wip/jfelder/mpris-cleanup: 32/67] mpris: Remove unecessary return from GoTo method



commit a5f4ee372c2214fae613bdccf601959f33f1744f
Author: Jean Felder <jfelder src gnome org>
Date:   Thu Apr 4 15:25:41 2019 +0200

    mpris: Remove unecessary return from GoTo method

 gnomemusic/mpris.py | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/gnomemusic/mpris.py b/gnomemusic/mpris.py
index 9df7fadf..42870d93 100644
--- a/gnomemusic/mpris.py
+++ b/gnomemusic/mpris.py
@@ -625,7 +625,6 @@ class MediaPlayer2Service(Server):
         current_song_index = self._path_list.index(current_song_path)
         goto_index = self._path_list.index(path)
         self.player.play(goto_index - current_song_index)
-        return
 
     def TrackListReplaced(self, tracks, current_song):
         self.con.emit_signal(None,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]