diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2020-05-28 15:18:47 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-05-28 15:18:47 +0200 |
commit | 151038255810ed972187ee5d7921e3f044557665 (patch) | |
tree | a2e96312ac1bcb3462bbbd7e962363ebcfdb2fa2 /utils | |
parent | de179ecc5b8a966f0a46d266c1a04bb2865b27c4 (diff) | |
download | searxng-151038255810ed972187ee5d7921e3f044557665.tar.gz searxng-151038255810ed972187ee5d7921e3f044557665.zip |
utils/fetch_languages.py: print more meaningfull messages
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/fetch_languages.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/fetch_languages.py b/utils/fetch_languages.py index ddebb4111..77ec0bf20 100644 --- a/utils/fetch_languages.py +++ b/utils/fetch_languages.py @@ -28,10 +28,10 @@ def fetch_supported_languages(): names.sort() for engine_name in names: - print("fetching languages of engine %s" % engine_name) - if hasattr(engines[engine_name], 'fetch_supported_languages'): engines_languages[engine_name] = engines[engine_name].fetch_supported_languages() + print("fetched %s languages from engine %s" % ( + len(engines_languages[engine_name]), engine_name)) if type(engines_languages[engine_name]) == list: engines_languages[engine_name] = sorted(engines_languages[engine_name]) |