def exempt_symlinks_from_blocked_file_extensions(self): val = self.get("main", "exempt-symlinks-from-blocked-file-extensions") return bool(try_int(val))
def exempt_symlinks_from_blocked_file_extensions(self): val = self.get('main', 'exempt-symlinks-from-blocked-file-extensions') return bool(try_int(val))
def max_file_size_in_bytes(self): i = try_int(self.get("main", "max-file-size-in-bytes")) or 0 if i < 0: i = 0 return i
def max_file_size_in_bytes(self): i = try_int(self.get('main', 'max-file-size-in-bytes')) or 0 if i < 0: i = 0 return i