From d8293b20de34cb7c36bc39438cb574554af2b361 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 31 Jul 2017 16:07:54 +1000 Subject: [PATCH] wallpaper: Correct sqlite3 command. --- pywal/wallpaper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pywal/wallpaper.py b/pywal/wallpaper.py index ba81a71..05f5d08 100644 --- a/pywal/wallpaper.py +++ b/pywal/wallpaper.py @@ -84,7 +84,7 @@ def set_desktop_wallpaper(desktop, img): def set_mac_wallpaper(img): """Set the wallpaper on macOS.""" db_file = HOME / "Library/Application Support/Dock/desktoppicture.db" - subprocess.call(["sqlite3", str(db_file), f"update data set value = {img}"]) + subprocess.call(["sqlite3", db_file, f"update data set value = '{img}'"]) # Kill the dock to fix issues with wallpapers sharing names. util.disown("killall", "Dock")