Mercurial > libervia-web
comparison libervia/web/server/server.py @ 1601:d07838fc9d99
minor updates
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 11 May 2024 13:57:49 +0200 |
parents | 86c7a3a625d5 |
children | 4a9679369856 |
comparison
equal
deleted
inserted
replaced
1600:0a4433a343a3 | 1601:d07838fc9d99 |
---|---|
253 roots.insert(0, default) | 253 roots.insert(0, default) |
254 return roots | 254 return roots |
255 | 255 |
256 @property | 256 @property |
257 def main_conf(self): | 257 def main_conf(self): |
258 """SafeConfigParser instance opened on configuration file (libervia.conf)""" | 258 """ConfigParser instance opened on configuration file (libervia.conf)""" |
259 if self._main_conf is None: | 259 if self._main_conf is None: |
260 self._main_conf = config.parse_main_conf(log_filenames=True) | 260 self._main_conf = config.parse_main_conf(log_filenames=True) |
261 return self._main_conf | 261 return self._main_conf |
262 | 262 |
263 def config_get(self, site_root_res, key, default=None, value_type=None): | 263 def config_get(self, site_root_res, key, default=None, value_type=None): |