diff options
author | lnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972> | 2006-10-23 16:26:01 +0000 |
---|---|---|
committer | lnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972> | 2006-10-23 16:26:01 +0000 |
commit | a29f5e3c95a4f038b67b0e5467a2099765959aaf (patch) | |
tree | 63d84e473d1134e2c979877300034a2e29931f61 /lib | |
parent | dd108ab5ffc959ebfaf326769e5fc74822b6647b (diff) | |
download | feed2imap-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.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| |