Use unicode in way more cases
This commit is contained in:
1 parent
5755d5a4ee
commit
ba81aa16a2
8 files changed
+35
-30
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user