summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jwebmail/webmail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jwebmail/webmail.py b/src/jwebmail/webmail.py
index 4ca1a67..d183b30 100644
--- a/src/jwebmail/webmail.py
+++ b/src/jwebmail/webmail.py
@@ -236,7 +236,7 @@ def remove(folder=""):
if folder == "Trash":
for m in mm:
- get_read_mails_logged_in().remove(m, folder)
+ get_read_mails_logged_in().remove(folder, m)
else:
for m in mm:
get_read_mails_logged_in().move(m, folder, "Trash")