use annotation find value

This commit is contained in:
j 2011-12-26 21:05:39 +05:30
commit 28a577d69f
4 changed files with 5 additions and 4 deletions

View file

@ -44,7 +44,7 @@ def sort_string(string):
#pad numbered titles
string = re.sub('(\d+)', lambda x: '%010d' % int(x.group(0)), string)
return unicodedata.normalize('NFKD', string).lower()
return unicodedata.normalize('NFKD', string)
def sort_title(title):