summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorlnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972>2006-10-23 16:26:01 +0000
committerlnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972>2006-10-23 16:26:01 +0000
commita29f5e3c95a4f038b67b0e5467a2099765959aaf (patch)
tree63d84e473d1134e2c979877300034a2e29931f61 /lib
parentdd108ab5ffc959ebfaf326769e5fc74822b6647b (diff)
downloadfeed2imap-a29f5e3c95a4f038b67b0e5467a2099765959aaf.tar.gz
feed2imap-a29f5e3c95a4f038b67b0e5467a2099765959aaf.tar.bz2
feed2imap-a29f5e3c95a4f038b67b0e5467a2099765959aaf.zip
git-svn-id: svn+ssh://svn.gna.org/svn/feed2imap/trunk/feed2imap@106 f70e237a-67f3-0310-a06c-d2b8a7116972
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 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|