International characters were being stripped when running under Python 2.

This commit is contained in:
Adam Waldenberg 2013-06-05 01:15:54 +02:00
parent 8d597238c1
commit f95e81bb69

View file

@ -124,7 +124,7 @@ class Blame:
@staticmethod
def get_author(string):
author = re.search(" \((.*?)\d\d\d\d-\d\d-\d\d", string)
return re.sub("[^\w ]", "", author.group(1)).strip()
return author.group(1).strip()
@staticmethod
def get_content(string):