diff --git a/py/webnotes/utils/email_lib/receive.py b/py/webnotes/utils/email_lib/receive.py index 058e4a78f4..68d2f8305d 100644 --- a/py/webnotes/utils/email_lib/receive.py +++ b/py/webnotes/utils/email_lib/receive.py @@ -91,7 +91,7 @@ class IncomingMail: import re subject = self.mail.get('Subject', '') - return re.findall('(?<=\[)[\w/]+', subject) + return re.findall('(?<=\[)[\w/-]+', subject) def process_part(self, part):