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



commit d9422971cce7c3aeeae2ccb69f08ebd907c6053e
Author: Jean Felder <jfelder src gnome org>
Date:   Wed May 29 12:07:57 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 86f5aa14..24734bca 100644
--- a/gnomemusic/mpris.py
+++ b/gnomemusic/mpris.py
@@ -651,7 +651,6 @@ class MediaPlayer2Service(Server):
         goto_index = self._path_list.index(path)
         song_offset = goto_index - current_song_index
         self.player.play(song_offset=song_offset)
-        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]