Use unicode in way more cases

This commit is contained in:
Dave Halter committed 2017-12-28 23:19:17 +01:00
1 parent 5755d5a4ee
commit ba81aa16a2
8 files changed
+35 -30

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ class CheckAttribute(object):
def __init__(self, func):
self.func = func
# Remove the py in front of e.g. py__call__.
self.check_name = func.__name__[2:]
self.check_name = force_unicode(func.__name__[2:])
def __get__(self, instance, owner):
if instance is None: