summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2024-12-09 13:06:50 +0100
committerJannis M. Hoffmann <jannis@fehcom.de>2024-12-09 13:06:50 +0100
commit4c911f53dc51dacc61f109cbc42b011887ce6c84 (patch)
tree5efba5434b78a84d0d885ba4082a4175e40cd6ae
parentecbc4095ecb85632290515c2ffb3deee195f9594 (diff)
fix argument order of remove
-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")