degal/gallery.py
changeset 129 a4698fa2066c
parent 124 cac613118e75
child 141 9387da0dc183
equal deleted inserted replaced
128:f66bb9f6126a 129:a4698fa2066c
    48 
    48 
    49         stylesheet = self.degal_dir.subfile('style.css')
    49         stylesheet = self.degal_dir.subfile('style.css')
    50         
    50         
    51         if not stylesheet.exists() :
    51         if not stylesheet.exists() :
    52             # load the resources dir
    52             # load the resources dir
    53             from resource import STATIC_DIR
    53             from resources import STATIC_DIR
    54 
    54 
    55             # copy it from the static resource file
    55             # copy it from the static resource file
    56             stylesheet.copy_from(STATIC_DIR.subfile('style.css'))
    56             stylesheet.copy_from(STATIC_DIR.subfile('style.css'))
    57 
    57 
    58         return stylesheet
    58         return stylesheet