diff --git a/offlineimap/repository/IMAP.py b/offlineimap/repository/IMAP.py index a97e2c9..0fa0cda 100644 --- a/offlineimap/repository/IMAP.py +++ b/offlineimap/repository/IMAP.py @@ -549,7 +549,7 @@ class IMAPRepository(BaseRepository): if foldername == '': return - if self.getreference(): + if self.getreference() != '""': foldername = self.getreference() + self.getsep() + foldername if not foldername: # Create top level folder as folder separator. foldername = self.getsep()