[gnome-music/wip/jfelder/mpris-cleanup: 3/25] 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: 3/25] mpris: Remove unecessary return from GoTo method
- Date: Sat, 15 Jun 2019 14:48:22 +0000 (UTC)
commit d39239899f3fcb87ca4409e009399a3f1b77ae8c
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]