diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2021-04-27 14:36:34 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-27 14:36:34 +0000 |
| commit | 4afe5a807578389b534f5fca9c4f70c9d388e3e2 (patch) | |
| tree | e4c0c0f3c864390de0f5dd75f2ddf92c9e5289a1 /searx/__init__.py | |
| parent | f45729ae72daf694ef25399603a6819b7bcd8c97 (diff) | |
| parent | b8f5adf500d6da349974626597055f2c4df16160 (diff) | |
Merge pull request #34 from searxng/error_recorder_relative_filename
[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() |