summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pywal/wallpaper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pywal/wallpaper.py b/pywal/wallpaper.py
index d661cd6..c31e408 100644
--- a/pywal/wallpaper.py
+++ b/pywal/wallpaper.py
@@ -144,7 +144,7 @@ def set_mac_wallpaper(img):
for pic in pictures:
if pic:
sql += 'insert into preferences (key, data_id, picture_id) '
- sql += f'values(1, {new_entry}, {pic}); '
+ sql += 'values(1, %s, %s); ' % (new_entry, pic)
subprocess.call(["sqlite3", db_path, sql])