summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-06-17 15:38:24 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-06-17 15:38:24 +1000
commit94d3a88b5a8bc86b22bce8d8fa0eec7eb33a395a (patch)
tree74423b9645177532e2cd57a649226e31fbc2a505
parent39e077c68b88c906dc1db7d44865b392c37b14d6 (diff)
General: Fix osascript quoting
-rw-r--r--wal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wal.py b/wal.py
index f3713ed..3129d4c 100644
--- a/wal.py
+++ b/wal.py
@@ -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",