diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2022-06-03 16:17:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-03 16:17:36 +0200 |
| commit | ac6c6670411aacc23daad212f41ce656bebe0f2a (patch) | |
| tree | e51c29aeebc52cd0c2cb3daa45fbfacf396cd778 /searx/utils.py | |
| parent | a408dd37e762d30157f4c224f638b450f132ff1f (diff) | |
| parent | 2de007138ca1820e865c574cc13429d5da3f019f (diff) | |
Merge pull request #1280 from searxng/dependabot/pip/master/pylint-2.14.0
Bump pylint from 2.13.9 to 2.14.0
Diffstat (limited to 'searx/utils.py')
| -rw-r--r-- | searx/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/utils.py b/searx/utils.py index abc330be2..15f4d7092 100644 --- a/searx/utils.py +++ b/searx/utils.py @@ -464,7 +464,7 @@ def to_string(obj: Any) -> str: if isinstance(obj, str): return obj if hasattr(obj, '__str__'): - return obj.__str__() + return str(obj) return repr(obj) |