summaryrefslogtreecommitdiffstats
path: root/lib/redmine/imap.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/redmine/imap.rb')
-rw-r--r--lib/redmine/imap.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/imap.rb b/lib/redmine/imap.rb
index cb91bf566..cc8dcb376 100644
--- a/lib/redmine/imap.rb
+++ b/lib/redmine/imap.rb
@@ -36,7 +36,7 @@ module Redmine
imap.login(imap_options[:username], imap_options[:password]) unless imap_options[:username].nil?
imap.select(folder)
imap.uid_search(['NOT', 'SEEN']).each do |uid|
- msg = imap.uid_fetch(uid,'RFC822')[0].attr['RFC822']
+ msg = imap.uid_fetch(uid, 'RFC822')[0].attr['RFC822']
logger.debug "Receiving message #{uid}" if logger && logger.debug?
if MailHandler.safe_receive(msg, options)
logger.debug "Message #{uid} successfully received" if logger && logger.debug?