diff options
author | Antonio Terceiro <terceiro@softwarelivre.org> | 2014-02-05 17:27:51 -0300 |
---|---|---|
committer | Antonio Terceiro <terceiro@softwarelivre.org> | 2014-02-05 17:27:51 -0300 |
commit | 35b6a29db96bbf835c1973f3349856149ecac76f (patch) | |
tree | 4182aa39b4126d6bfb6292bbed2831b3664d8fc5 /lib/feed2imap/config.rb | |
parent | 6b9107e9f81202ec45446c8f2239e056a5c3e503 (diff) | |
download | feed2imap-35b6a29db96bbf835c1973f3349856149ecac76f.tar.gz feed2imap-35b6a29db96bbf835c1973f3349856149ecac76f.tar.bz2 feed2imap-35b6a29db96bbf835c1973f3349856149ecac76f.zip |
config: fix regression with arrays as target
Diffstat (limited to '')
-rw-r--r-- | lib/feed2imap/config.rb | 2 |
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)) |