Mercurial > kallithea
changeset 8000:096ce7327aad
lib: drop redundant json.dumps encoding=utf8
Not supported in py3 - json is by definition(?) always UTF-8.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sat, 23 Nov 2019 15:55:40 +0100 |
parents | 1a409593f352 |
children | a7427a53cccc |
files | kallithea/lib/base.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/lib/base.py Sun Nov 24 00:16:31 2019 +0100 +++ b/kallithea/lib/base.py Sat Nov 23 15:55:40 2019 +0100 @@ -628,7 +628,7 @@ warnings.warn(msg, Warning, 2) log.warning(msg) log.debug("Returning JSON wrapped action output") - return json.dumps(data, encoding='utf-8') + return json.dumps(data) @decorator.decorator def IfSshEnabled(func, *args, **kwargs):