summaryrefslogtreecommitdiff
path: root/src/jwebmail/model
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-12-08 13:01:13 +0100
committerJannis M. Hoffmann <jannis@fehcom.de>2023-12-08 13:01:13 +0100
commita00292129478a2b38673fd39cd361c7142166d4d (patch)
tree739ee64df9acc249f7a1efcd9c3ba1f31726ff30 /src/jwebmail/model
parentd08bc4fd1dab191db5ee01e81509c9b9b33c710d (diff)
get header fields as optional
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 ccd9bb9..b322a16 100644
--- a/src/jwebmail/model/read_mails.py
+++ b/src/jwebmail/model/read_mails.py
@@ -27,9 +27,9 @@ class QMailAuthuser:
try:
completed_proc = subprocess_run(
f"{self._authenticator} true 3<&0",
+ input=f"{self._username}\0{self._password}\0\0".encode(),
shell=True,
timeout=2,
- input=f"{self._username}\0{self._password}\0\0".encode(),
)
if completed_proc.returncode == 0:
return True