[gnome-music/wip/jfelder/mpris-cleanup: 8/41] 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: 8/41] mpris: Remove unecessary return from GoTo method
- Date: Thu, 30 May 2019 17:25:03 +0000 (UTC)
commit 2f7d30fc169acf3c99291d8861ad64bf92d16348
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 d57b05ae..8710f0c7 100644
--- a/gnomemusic/mpris.py
+++ b/gnomemusic/mpris.py
@@ -587,7 +587,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]