diff options
Diffstat (limited to 'src/jwebmail/read_mails.py')
-rw-r--r-- | src/jwebmail/read_mails.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jwebmail/read_mails.py b/src/jwebmail/read_mails.py index 8e1a23d..f88ce46 100644 --- a/src/jwebmail/read_mails.py +++ b/src/jwebmail/read_mails.py @@ -173,8 +173,8 @@ def _build_qma(domain): def login(username, password): + _, domain = username.split("@") try: - _, domain = username.split("@") _build_qma(domain).open(username, password) except QMAuthError as err: if err.rc == 1: |