offlineimap.conf: allow non-spaces in the account list
Commit c992f58530
pretends to fix this bug it doesn't.
Regression introduced in v7.0.0.
Github-fix: https://github.com/OfflineIMAP/offlineimap/issues/355
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
@ -379,7 +379,7 @@ class OfflineImap(object):
|
||||
activeaccountnames = self.config.get("general", "accounts")
|
||||
if options.accounts:
|
||||
activeaccountnames = options.accounts
|
||||
activeaccountnames = activeaccountnames.split(",")
|
||||
activeaccountnames = [x.lstrip() for x in activeaccountnames.split(",")]
|
||||
|
||||
allaccounts = accounts.getaccountlist(self.config)
|
||||
for accountname in activeaccountnames:
|
||||
|
Reference in New Issue
Block a user