[gnome-music/wip/jfelder/mpris-loop-status: 2/2] mpris: Use double quotes in LoopStatus getter
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/mpris-loop-status: 2/2] mpris: Use double quotes in LoopStatus getter
- Date: Sun, 3 Nov 2019 20:20:41 +0000 (UTC)
commit 4f9628c457a8f4110aaf664f348ee7fba30522b1
Author: Jean Felder <jfelder src gnome org>
Date: Sun Nov 3 21:13:33 2019 +0100
mpris: Use double quotes in LoopStatus getter
This change is made to comply with the coding style.
gnomemusic/mpris.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/mpris.py b/gnomemusic/mpris.py
index b9af87fe..89719dbd 100644
--- a/gnomemusic/mpris.py
+++ b/gnomemusic/mpris.py
@@ -328,7 +328,7 @@ class MPRIS(DBusInterface):
if self._player.props.repeat_mode == RepeatMode.ALL:
return "Playlist"
elif self._player.props.repeat_mode == RepeatMode.SONG:
- return 'Track'
+ return "Track"
else:
return "None"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]