diff options
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) |