From 574e350da2a03e4b5be1d4776940c940e96a85ec Mon Sep 17 00:00:00 2001 From: Patrick Ulbrich Date: Thu, 4 Aug 2016 18:25:33 +0200 Subject: [PATCH] Fix regex folder matching. Fixes #128 --- Mailnag/common/accounts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mailnag/common/accounts.py b/Mailnag/common/accounts.py index 264b6b1..90c1ced 100644 --- a/Mailnag/common/accounts.py +++ b/Mailnag/common/accounts.py @@ -107,7 +107,7 @@ class Account: conn.logout() for d in data: - match = re.match('.+\s+("."|"?NIL"?)\s+"?([^".]+)"?$', d) + match = re.match('.+\s+("."|"?NIL"?)\s+"?([^"]+)"?$', d) if match == None: logging.warning("Folder format not supported.")