summaryrefslogtreecommitdiff
path: root/searx/engines/command.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-01-13 11:31:25 +0100
committerAlexandre Flament <alex@al-f.net>2021-01-14 20:57:17 +0100
commita4dcfa025c690dc4c824b2261242748a331a97e8 (patch)
tree2085c05e8ba319411a4b729c589e660d973a5c7c /searx/engines/command.py
parent5a511f0d620038b8e94c581bcfd3c987082b9414 (diff)
downloadsearxng-a4dcfa025c690dc4c824b2261242748a331a97e8.tar.gz
searxng-a4dcfa025c690dc4c824b2261242748a331a97e8.zip
[enh] engines: add about variable
move meta information from comment to the about variable so the preferences, the documentation can show these information
Diffstat (limited to 'searx/engines/command.py')
-rw-r--r--searx/engines/command.py19
1 files changed, 4 insertions, 15 deletions
diff --git a/searx/engines/command.py b/searx/engines/command.py
index 6321e0004..33270d245 100644
--- a/searx/engines/command.py
+++ b/searx/engines/command.py
@@ -1,18 +1,7 @@
-'''
-searx is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-searx is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with searx. If not, see < http://www.gnu.org/licenses/ >.
-'''
-
+# SPDX-License-Identifier: AGPL-3.0-or-later
+"""
+ Command (offline)
+"""
import re
from os.path import expanduser, isabs, realpath, commonprefix