X-Git-Url: https://git.phdru.name/?p=xsetbg.git;a=blobdiff_plain;f=rescan_fs.py;h=1b74f8f15213a4932f4e5326f134bf60e815183b;hp=9688de941cbb4831d35947261f03b238783800ea;hb=HEAD;hpb=8c29b392cb63442b52c6252c3a8418ff1677ffb3 diff --git a/rescan_fs.py b/rescan_fs.py index 9688de9..24302fe 100755 --- a/rescan_fs.py +++ b/rescan_fs.py @@ -67,7 +67,7 @@ with SQLiteMassInsert() as txn: try: row = xsetbg_db.byFull_name(full_name) except SQLObjectNotFound: - values = {'full_name': full_name.encode('utf-8'), + values = {'full_name': full_name, 'is_image': is_image(full_name), 'flag': True, }