[mod] searx.metrics.error_recorder: store relative file name instead of the full absolute file name.

This commit is contained in:
Alexandre Flament
2021-04-27 10:42:00 +02:00
parent 9b482e8fcc
commit b8f5adf500
2 changed files with 4 additions and 1 deletions

View File

@@ -22,6 +22,7 @@ from os.path import realpath, dirname, join, abspath, isfile
searx_dir = abspath(dirname(__file__))
searx_parent_dir = abspath(dirname(dirname(__file__)))
engine_dir = dirname(realpath(__file__))
static_path = abspath(join(dirname(__file__), 'static'))
settings, settings_load_message = searx.settings_loader.load_settings()