equal
deleted
inserted
replaced
79 |
79 |
80 # the path to the gallery root |
80 # the path to the gallery root |
81 # only valid in top-level config |
81 # only valid in top-level config |
82 gallery_path = "." |
82 gallery_path = "." |
83 |
83 |
84 # force-update items |
|
85 force_thumb = False |
|
86 force_html = False |
|
87 |
|
88 def get_force_update (self) : |
|
89 return self.force_thumb or self.force_html |
|
90 |
|
91 def set_force_update (self, value) : |
|
92 self.force_thumb = self.force_html = value |
|
93 |
|
94 force_update = property(get_force_update, set_force_update) |
|
95 |
|
96 # minimum logging level |
84 # minimum logging level |
97 log_level = logging.INFO |
85 log_level = logging.INFO |
98 |
86 |
99 def quiet (self) : self.log_level = logging.WARN |
87 def quiet (self) : self.log_level = logging.WARN |
100 def debug (self) : self.log_level = logging.DEBUG |
88 def debug (self) : self.log_level = logging.DEBUG |