From 1b3456a449bad3665135d5b486b9d669af4611fc Mon Sep 17 00:00:00 2001 From: Arslan Ablikim Date: Tue, 8 Aug 2017 11:45:46 +0800 Subject: [PATCH] fix spotify to use apple script --- powerline/segments/common/players.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerline/segments/common/players.py b/powerline/segments/common/players.py index eb32f267..a91fa0d7 100644 --- a/powerline/segments/common/players.py +++ b/powerline/segments/common/players.py @@ -380,7 +380,7 @@ Requires ``osascript`` available in $PATH. ''').format(_common_args.format('spotify_apple_script'))) -if 'dbus' in globals() or not sys.platform.startswith('darwin'): +if not sys.platform.startswith('darwin'): spotify = spotify_dbus _old_name = 'spotify_dbus' else: