Skip to content

Commit a55ab67

Browse files
committed
Fix quoted reply detection.
1 parent 0a6821e commit a55ab67

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cron.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
cron:
22
- description: weekly reminder
33
url: /reminderemail
4-
schedule: every sunday 18:00
4+
schedule: every sunday 19:00
55
timezone: America/New_York
66
- description: weekly digest
77
url: /digestemail
8-
schedule: every monday 17:00
8+
schedule: every monday 19:00
99
timezone: America/New_York

receive_email.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def receive(self, message):
2525
split_email = re.split(sig_pattern, content)
2626
content = split_email[0]
2727

28-
reply_pattern = re.compile(r'^On.*foursquare.com.*wrote:$', re.MULTILINE)
28+
reply_pattern = re.compile(r'^On.*at.*snippets', re.MULTILINE)
2929
split_email = re.split(reply_pattern, content)
3030
content = split_email[0]
3131

0 commit comments

Comments
 (0)