summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/feed2imap/config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/feed2imap/config.rb b/lib/feed2imap/config.rb
index f478296..693d2d6 100644
--- a/lib/feed2imap/config.rb
+++ b/lib/feed2imap/config.rb
@@ -69,7 +69,7 @@ class F2IConfig
maildir_account = MaildirAccount::new
@conf['feeds'].each do |f|
if f['disable'].nil?
- uri = URI::parse(f['target'].to_s)
+ uri = URI::parse(Array(f['target']).join(''))
path = URI::unescape(uri.path)
if uri.scheme == 'maildir'
@feeds.push(ConfigFeed::new(f, maildir_account, path, self))