diff --git a/offlineimap/folder/IMAP.py b/offlineimap/folder/IMAP.py index ead4396..39c0172 100644 --- a/offlineimap/folder/IMAP.py +++ b/offlineimap/folder/IMAP.py @@ -278,7 +278,7 @@ class IMAPFolder(BaseFolder): # Get the flags and UIDs for these. single-quotes prevent # imaplib2 from quoting the sequence. - fetch_msg = "'%s'"% msgsToFetch + fetch_msg = "%s"% msgsToFetch self.ui.debug('imap', "calling imaplib2 fetch command: %s %s"% (fetch_msg, '(FLAGS UID INTERNALDATE)')) res_type, response = imapobj.fetch(