summaryrefslogtreecommitdiff
path: root/emailcanary/emailutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'emailcanary/emailutils.py')
-rw-r--r--emailcanary/emailutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/emailcanary/emailutils.py b/emailcanary/emailutils.py
index b87f637..83c2f46 100644
--- a/emailcanary/emailutils.py
+++ b/emailcanary/emailutils.py
@@ -19,7 +19,7 @@ def get_message(mail, uid):
return email.message_from_string(raw_email)
def delete_message(mail, uid):
- result = mail.uid('store', uid, '+FLAGS', '\\Deleted')
+ result = mail.uid('store', uid, '+FLAGS', '(\Deleted)')
def close(mail):
mail.expunge()