Add new expansion key for mbnames.peritem config variable
It is called localfolders and holds expanded name for the same variable for the local repository of the account that is being processed. GitHub issue: https://github.com/OfflineIMAP/offlineimap/issues/21 Signed-off-by: Eygene Ryabinkin <rea@codelabs.ru>
This commit is contained in:
@ -390,7 +390,8 @@ def syncfolder(account, remotefolder, quick):
|
||||
localfolder = account.get_local_folder(remotefolder)
|
||||
|
||||
# Write the mailboxes
|
||||
mbnames.add(account.name, localfolder.getname())
|
||||
mbnames.add(account.name, localfolder.getname(),
|
||||
localrepos.getlocalroot())
|
||||
|
||||
# Load status folder.
|
||||
statusfolder = statusrepos.getfolder(remotefolder.getvisiblename().\
|
||||
|
Reference in New Issue
Block a user