diff options
author | Lucas Nussbaum <lucas@lucas-nussbaum.net> | 2009-05-15 18:01:57 +0200 |
---|---|---|
committer | Lucas Nussbaum <lucas@lucas-nussbaum.net> | 2009-05-15 18:01:57 +0200 |
commit | 6acc50198e3303e7793aa95d3ec14e93b1579902 (patch) | |
tree | d0dd1cfcdd5d97c43a7fc4d139d6f1e7dba089e9 /lib/feed2imap/config.rb | |
parent | 78d88f7f90e2737f722052a910233b16e4deafd1 (diff) | |
download | feed2imap-6acc50198e3303e7793aa95d3ec14e93b1579902.tar.gz feed2imap-6acc50198e3303e7793aa95d3ec14e93b1579902.tar.bz2 feed2imap-6acc50198e3303e7793aa95d3ec14e93b1579902.zip |
prep release, config parsing fix
- prepared the release (still need to update the date)
- allowed to re-use substrings in the yaml config file (+ doc)
thanks to Bernhard Stoeckner for the tip.
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 c0bf4ac..d8f3548 100644 --- a/lib/feed2imap/config.rb +++ b/lib/feed2imap/config.rb @@ -42,7 +42,7 @@ class F2IConfig @imap_accounts = ImapAccounts::new @conf['feeds'].each do |f| if f['disable'].nil? - uri = URI::parse(f['target']) + uri = URI::parse(f['target'].to_s) path = URI::unescape(uri.path) path = path[1..-1] if path[0,1] == '/' @feeds.push(ConfigFeed::new(f, @imap_accounts.add_account(uri), path, self)) |