[gnome-music/wip/jfelder/mpris-cleanup: 12/38] mpris: Remove unecessary return from GoTo method
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/mpris-cleanup: 12/38] mpris: Remove unecessary return from GoTo method
- Date: Fri, 31 May 2019 20:30:26 +0000 (UTC)
commit af7ab1b81a2cb28e4dc5c2d96a3c18d3b577dde8
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 d8707452..18319ab0 100644
--- a/gnomemusic/mpris.py
+++ b/gnomemusic/mpris.py
@@ -619,7 +619,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]