summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/feed2imap/config.rb2
-rw-r--r--lib/feed2imap/feed2imap.rb2
2 files changed, 2 insertions, 2 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))
diff --git a/lib/feed2imap/feed2imap.rb b/lib/feed2imap/feed2imap.rb
index fb8fb12..d892eda 100644
--- a/lib/feed2imap/feed2imap.rb
+++ b/lib/feed2imap/feed2imap.rb
@@ -18,7 +18,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
=end
# Feed2Imap version
-F2I_VERSION = '0.9.3'
+F2I_VERSION = '0.9.4'
F2I_WARNFETCHTIME = 10
require 'feed2imap/config'