diff options
author | Adam Tauber <asciimoo@gmail.com> | 2020-07-28 13:10:09 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2020-07-28 13:10:40 +0200 |
commit | 164e4725f3ab4adcc0c1527d0ae01965109cfd0d (patch) | |
tree | 497f0cbfe16e334112b39c2ce55e69bd5f96c123 /searx/plugins/__init__.py | |
parent | 3f60bb470a0cd1f4c158ac4d621a51017ecadb54 (diff) | |
download | searxng-164e4725f3ab4adcc0c1527d0ae01965109cfd0d.tar.gz searxng-164e4725f3ab4adcc0c1527d0ae01965109cfd0d.zip |
[mod] add dedicated directory to external plugins with gitignore file
Diffstat (limited to 'searx/plugins/__init__.py')
-rw-r--r-- | searx/plugins/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/plugins/__init__.py b/searx/plugins/__init__.py index 1abf02026..457183a1e 100644 --- a/searx/plugins/__init__.py +++ b/searx/plugins/__init__.py @@ -118,12 +118,12 @@ def sync_resource(base_path, resource_path, name, target_dir, plugin_dir): exit(3) # returning with the web path of the resource - return join('plugins', plugin_dir, file_name) + return join('plugins/external_plugins', plugin_dir, file_name) def prepare_package_resources(pkg, name): plugin_dir = 'plugin_' + name - target_dir = join(static_path, 'plugins', plugin_dir) + target_dir = join(static_path, 'plugins/external_plugins', plugin_dir) try: makedirs(target_dir, exist_ok=True) except: |