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



commit 4c69a543ec816ed3c409176f5a6b7c898a7e9e74
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 5999e5d1..ca750aaf 100644
--- a/gnomemusic/mpris.py
+++ b/gnomemusic/mpris.py
@@ -647,7 +647,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]