Example #1
0
 def exempt_symlinks_from_blocked_file_extensions(self):
     val = self.get("main", "exempt-symlinks-from-blocked-file-extensions")
     return bool(try_int(val))
Example #2
0
 def exempt_symlinks_from_blocked_file_extensions(self):
     val = self.get('main', 'exempt-symlinks-from-blocked-file-extensions')
     return bool(try_int(val))
Example #3
0
 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
Example #4
0
 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