From: Oleg Broytman Date: Tue, 21 Jul 2015 20:17:37 +0000 (+0300) Subject: Rename path to full_name and make it UnicodeCol X-Git-Tag: v5.0.0~21 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=98addd48a1a4f11b37626e6b4a779a7189313c6b;p=xsetbg.git Rename path to full_name and make it UnicodeCol --- diff --git a/xsetbg_db.py b/xsetbg_db.py index fd9237d..7862007 100755 --- a/xsetbg_db.py +++ b/xsetbg_db.py @@ -11,7 +11,7 @@ __all__ = ['xsetbg_db_path', 'xsetbg_db'] import os from sqlobject import SQLObject, connectionForURI, sqlhub, \ - StringCol, IntCol, BoolCol, dberrors + StringCol, UnicodeCol, IntCol, BoolCol, dberrors from xsetbg_conf import xsetbg_conf @@ -23,7 +23,7 @@ class SqliteSequence(SQLObject): class XSetBg(SQLObject): - path = StringCol(alternateID=True) + full_name = UnicodeCol(alternateID=True) last_shown = IntCol(default=None) # timestamp flag = BoolCol(default=None)