wallpaper: Fix quotes

This commit is contained in:
Dylan Araps 2017-07-31 15:19:58 +10:00
parent 9f1d8bffe0
commit 3540645a32

View File

@ -83,9 +83,8 @@ def set_desktop_wallpaper(desktop, img):
def set_mac_wallpaper(img):
"""Set the wallpaper on macOS."""
subprocess.call(["osascript", "tell", "application", "\"Finder\"",
"set", "desktop", "picture", "to", "POSIX", "file",
f"\"{img}\""])
subprocess.call(["osascript", "tell", "application", "Finder", "set",
"desktop", "picture", "to", "POSIX", "file", img])
def change(img):