diff --git a/offlineimap/accounts.py b/offlineimap/accounts.py index a40fad2..4b02b13 100644 --- a/offlineimap/accounts.py +++ b/offlineimap/accounts.py @@ -38,7 +38,7 @@ except: # FIXME: spaghetti code alert! def getaccountlist(customconfig): # Account names in a list. - return customconfig.getsectionlist('Account') + return [name.lstrip() for name in customconfig.getsectionlist('Account')] class Account(CustomConfig.ConfigHelperMixin):