diff --git a/britney2/excuse.py b/britney2/excuse.py index 065cb21..5f6ad54 100644 --- a/britney2/excuse.py +++ b/britney2/excuse.py @@ -263,6 +263,8 @@ class Excuse(object): def excusedata(self): """Render the excuse in as key-value data""" source = self.name + if '_' in source: + source = source.split("_")[0] if '/' in source: source = source.split("/")[0] if source[0] == '-':