diff options
author | Alexandre Flament <alex@al-f.net> | 2021-04-27 10:42:00 +0200 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2021-04-27 10:42:00 +0200 |
commit | b8f5adf500d6da349974626597055f2c4df16160 (patch) | |
tree | 22c181c9d609436192e75d286d6edb94905df35b /searx/__init__.py | |
parent | 9b482e8fccfc5e5504e4c8abdb60ce5c11678018 (diff) | |
download | searxng-b8f5adf500d6da349974626597055f2c4df16160.tar.gz searxng-b8f5adf500d6da349974626597055f2c4df16160.zip |
[mod] searx.metrics.error_recorder: store relative file name instead of the full absolute file name.
Diffstat (limited to 'searx/__init__.py')
-rw-r--r-- | searx/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/__init__.py b/searx/__init__.py index 71e00a49a..6aac98713 100644 --- a/searx/__init__.py +++ b/searx/__init__.py @@ -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() |