diff options
| author | rob <robwaz@icloud.com> | 2020-04-20 12:59:04 -0700 |
|---|---|---|
| committer | rob <robwaz@icloud.com> | 2020-04-20 12:59:04 -0700 |
| commit | 5dadd32a089e6553d26266866f6f197483695fa2 (patch) | |
| tree | c879555c1a15e1a4bf7c5301f313ca74da02be81 | |
| parent | 2a93ab178d6fcc98cf0821f65d98c6a879e34a8f (diff) | |
Use %-strings, not f-string
| -rw-r--r-- | pywal/wallpaper.py | 2 |
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]) |
