General: Fix osascript quoting

This commit is contained in:
Dylan Araps 2017-06-17 15:38:24 +10:00
parent 39e077c68b
commit 94d3a88b5a

2
wal.py
View File

@ -203,7 +203,7 @@ def set_wallpaper(img):
elif OS == "Darwin":
call(["osascript", "-e", "'tell application \"Finder\" to set \
desktop picture to POSIX file \"'\"", img, "\""])
desktop picture to POSIX file\'", img, "\'"])
else:
call(["gsettings", "set", "org.gnome.desktop.background",