mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-07 08:34:01 +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:
|
||||
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])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user