[fix] import

This commit is contained in:
Al
2015-08-22 23:19:43 -04:00
parent 723058886a
commit 0701bb6f08

View File

@@ -0,0 +1,5 @@
import unicodedata
def strip_accents(s):
return u''.join([c for c in unicodedata.normalize('NFD', s) if unicodedata.category(c) != 'Mn'])