diff options
-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 4ab522e..c6439d1 100644 --- a/lib/feed2imap/config.rb +++ b/lib/feed2imap/config.rb @@ -36,7 +36,7 @@ class F2IConfig @dumpdir = @conf['dumpdir'] || nil @conf['feeds'] ||= [] @feeds = [] - @max_failures = @conf['max-failures'].to_i || 5 + @max_failures = (@conf['max-failures'] || 5).to_i @updateddebug = (@conf['debug-updated'] and @conf['debug-updated'] != 'false') @imap_accounts = ImapAccounts::new @conf['feeds'].each do |f| |