Skip to content

Commit 09739f5

Browse files
committed
mailbot: fix re API use
1 parent c1deab9 commit 09739f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mailbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def dkim_ok(self):
351351

352352
def _resolve_thread(self, pw):
353353
subject = self.get('Subject')
354-
if re.match(r"\W0+/", subject):
354+
if re.search(r"\W0+/", subject):
355355
obj_type = 'covers'
356356
else:
357357
obj_type = 'patches'

0 commit comments

Comments
 (0)