summaryrefslogtreecommitdiff
path: root/src/jwebmail/model
diff options
context:
space:
mode:
Diffstat (limited to 'src/jwebmail/model')
-rw-r--r--src/jwebmail/model/read_mails.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jwebmail/model/read_mails.py b/src/jwebmail/model/read_mails.py
index 633c358..5c63bdd 100644
--- a/src/jwebmail/model/read_mails.py
+++ b/src/jwebmail/model/read_mails.py
@@ -116,7 +116,7 @@ class QMailAuthuser:
def add_folder(self, name):
req = pb2.AddFolderReq(name=name)
- resp = self.build_and_run("add_folder", req.SerializeToString())
+ resp = self.build_and_run("add-folder", req.SerializeToString())
r = pb2.AddFolderResp()
r.ParseFromString(resp)
return r.status