X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=compat.py;h=b1974453139d4ac649f9fc782988b3b5dbead32e;hb=9f2e541f950d245198f893936de4ebece69894ba;hp=ab6254c95cbb0b9282759af6c01b7197946c06c9;hpb=708b258fa37272ece656f6825e80dc6bcbae849e;p=bookmarks_db.git diff --git a/compat.py b/compat.py index ab6254c..b197445 100644 --- a/compat.py +++ b/compat.py @@ -6,6 +6,8 @@ if PY2: # disable flake8 checks on python 3 string_type = basestring # noqa unicode = unicode # noqa + unichr = unichr # noqa else: string_type = str unicode = str + unichr = chr