mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[mod] searx.metrics.error_recorder: store relative file name instead of the full absolute file name.
This commit is contained in:
parent
9b482e8fcc
commit
b8f5adf500
2 changed files with 4 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue