mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-01-24 23:09:16 +01:00
Use %-strings, not f-string
This commit is contained in:
parent
2a93ab178d
commit
5dadd32a08
@ -144,7 +144,7 @@ def set_mac_wallpaper(img):
|
|||||||
for pic in pictures:
|
for pic in pictures:
|
||||||
if pic:
|
if pic:
|
||||||
sql += 'insert into preferences (key, data_id, picture_id) '
|
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])
|
subprocess.call(["sqlite3", db_path, sql])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user