Commits

Marcin Kuzminski  committed 48cbd37

fix safe_int default arg

  • Participants
  • Parent commits 685ebc8

Comments (0)

Files changed (1)

File rhodecode/controllers/feed.py

         self.feed_nr = safe_int(CONF.get('rss_items_per_page', 20))
         # we need to protect from parsing huge diffs here other way
         # we can kill the server
-        self.feed_diff_limit = safe_int(CONF.get('rss_cut_off_limit'), 32 * 1024)
+        self.feed_diff_limit = safe_int(CONF.get('rss_cut_off_limit', 32 * 1024))
 
     def _get_title(self, cs):
         return "%s" % (