changeset 1601:d07838fc9d99

minor updates
author Goffi <goffi@goffi.org>
date Sat, 11 May 2024 13:57:49 +0200
parents 0a4433a343a3
children 6feac4a25e60
files libervia/web/server/server.py libervia/web/server/tasks/implicit/task_js_modules.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libervia/web/server/server.py	Sat Apr 06 13:06:17 2024 +0200
+++ b/libervia/web/server/server.py	Sat May 11 13:57:49 2024 +0200
@@ -255,7 +255,7 @@
 
     @property
     def main_conf(self):
-        """SafeConfigParser instance opened on configuration file (libervia.conf)"""
+        """ConfigParser instance opened on configuration file (libervia.conf)"""
         if self._main_conf is None:
             self._main_conf = config.parse_main_conf(log_filenames=True)
         return self._main_conf
--- a/libervia/web/server/tasks/implicit/task_js_modules.py	Sat Apr 06 13:06:17 2024 +0200
+++ b/libervia/web/server/tasks/implicit/task_js_modules.py	Sat May 11 13:57:49 2024 +0200
@@ -46,7 +46,7 @@
                         f"module {module_name!r} has space(s), it must not!")
                 module_python_name = module_name.replace(".", "_").replace("-", "_")
                 if module_python_name != module_name:
-                    log.info("{module_python_name!r} will be used as python module name")
+                    log.info(f"{module_python_name!r} will be used as python module name")
                 module_path = js_modules_path / f"{module_python_name}.py"
                 if isinstance(module_data, str):
                     module_data = {'path': [module_data]}