degal/config.py
changeset 87 a7a18893730d
parent 77 2a53c5ade434
child 88 b1b0939517e7
child 101 698dc68a985d
equal deleted inserted replaced
86:d9a981cc0806 87:a7a18893730d
    13     # do not modify anything
    13     # do not modify anything
    14     read_only           = False
    14     read_only           = False
    15 
    15 
    16     # the path to the gallery
    16     # the path to the gallery
    17     gallery_path        = "."
    17     gallery_path        = "."
       
    18     
       
    19     # force-update items
       
    20     force_update        = False
    18 
    21 
    19     # minimum logging level
    22     # minimum logging level
    20     log_level           = logging.INFO
    23     log_level           = logging.INFO
    21 
    24 
    22     ## detailed configuration
    25     ## detailed configuration
    62             Tests if the given File is an image, based on its file extension
    65             Tests if the given File is an image, based on its file extension
    63         """
    66         """
    64 
    67 
    65         return file.matchext(self.image_exts)
    68         return file.matchext(self.image_exts)
    66 
    69 
    67     # XXX: move elsewhere?
       
    68     def get_renderer (self) :
       
    69         import render
       
    70 
       
    71         return render.RenderMachine(self)