1
0
Fork 0
mirror of https://github.com/ejwa/gitinspector.git synced 2025-03-19 14:58:12 +01:00

Handle escaping in get_latest_author_by_email() (Fixes issue 46).

Signed-off-by: Adam Waldenberg <adam.waldenberg@ejwa.se>
This commit is contained in:
Jon Warghed 2014-11-17 22:56:21 +01:00 committed by Adam Waldenberg
parent 1d2fd619bd
commit 68a6e90228

View file

@ -178,6 +178,7 @@ class Changes:
return self.authors_dateinfo
def get_latest_author_by_email(self, name):
name = name.decode("unicode_escape", "ignore")
return self.authors_by_email[name]
def get_latest_email_by_author(self, name):