]> git.phdru.name Git - xsetbg.git/commitdiff
Fix(DB): Fix column encoding 5.1.2
authorOleg Broytman <phd@phdru.name>
Sat, 24 Feb 2024 17:01:13 +0000 (20:01 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 25 Feb 2024 12:57:18 +0000 (15:57 +0300)
ChangeLog
rescan_fs.py

index 80643f1350fc150472970dd22842d1650fb3b750..0b3f0aa8e4a6cf6705883490ef3e2d945b9239a7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Version 5.1.2 (2024-02-25)
+
+   DB: Fix column encoding.
+
 Version 5.1.1 (2024-02-24)
 
    Python 3: Fix filesystem encoding.
index 9688de941cbb4831d35947261f03b238783800ea..24302fea4966a2f7259077ac8d24e65813dea435 100755 (executable)
@@ -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,
                               }