diff options
-rw-r--r-- | src/jwebmail/__init__.py | 2 | ||||
-rw-r--r-- | src/jwebmail/model/de.jmhoffmann.jwebmail.mail-storage.varlink | 2 | ||||
-rw-r--r-- | src/jwebmail/read_mails.py | 3 | ||||
-rw-r--r-- | src/jwebmail/webmail.py | 1 |
4 files changed, 3 insertions, 5 deletions
diff --git a/src/jwebmail/__init__.py b/src/jwebmail/__init__.py index f48db48..0a52677 100644 --- a/src/jwebmail/__init__.py +++ b/src/jwebmail/__init__.py @@ -36,7 +36,7 @@ else: toml_read_file = dict(load=toml_load, text=True) -__version__ = "2.7.0.dev0" +__version__ = "2.7.0.dev1" csrf = CSRFProtect() diff --git a/src/jwebmail/model/de.jmhoffmann.jwebmail.mail-storage.varlink b/src/jwebmail/model/de.jmhoffmann.jwebmail.mail-storage.varlink index 64a4073..3be999b 100644 --- a/src/jwebmail/model/de.jmhoffmann.jwebmail.mail-storage.varlink +++ b/src/jwebmail/model/de.jmhoffmann.jwebmail.mail-storage.varlink @@ -76,7 +76,7 @@ method Remove(folder: string, mid: string) -> () method AddFolder(name: string) -> (status: (created, skiped)) -error NotIninitialized() +error NotInitialized() error InvalidFolder(folder: string) error InvalidMID(folder: string, mid: string) error InvalidPathInMail(folder: string, mid: string, path: string) diff --git a/src/jwebmail/read_mails.py b/src/jwebmail/read_mails.py index 7775b12..f0f37c6 100644 --- a/src/jwebmail/read_mails.py +++ b/src/jwebmail/read_mails.py @@ -170,8 +170,7 @@ def login(username, password): return False else: raise - finally: - qma.close() + r = _select_timeout_session() r.set(username, password) r.close() diff --git a/src/jwebmail/webmail.py b/src/jwebmail/webmail.py index 84cb6a7..99cc542 100644 --- a/src/jwebmail/webmail.py +++ b/src/jwebmail/webmail.py @@ -187,7 +187,6 @@ def writemail(): def _take_common_req_args(mapping): - print(mapping) res = dict() if mapping.get("sort"): res["sort"] = mapping["sort"] |