summaryrefslogtreecommitdiff
path: root/emailcanary/canary.py
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2015-11-24 20:40:37 -0800
committerJesse Morgan <jesse@jesterpm.net>2015-11-24 20:40:37 -0800
commit02b23f394b6b06351e3a4128cec2de2f181ff12a (patch)
tree13daf30d47b0b0b470c99ce35580aa6cbb7a3be1 /emailcanary/canary.py
parent6259efbc44be3e21e42b29246941cd300e79200f (diff)
Match emails with subject prefix.
Diffstat (limited to 'emailcanary/canary.py')
-rw-r--r--emailcanary/canary.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/emailcanary/canary.py b/emailcanary/canary.py
index e020349..aac6418 100644
--- a/emailcanary/canary.py
+++ b/emailcanary/canary.py
@@ -36,7 +36,7 @@ class Canary:
return self.db.get_missing_pongs(listAddress)
def processMessage(self, receipient, msg):
- match = re.match('Canary Email (.+)', msg['Subject'])
+ match = re.match('.*Canary Email (.+)', msg['Subject'])
if match:
chirpUUID = match.group(1)
now = datetime.datetime.now()