summary refs log tree commit diff
path: root/develop/print.html
diff options
context:
space:
mode:
authoranoadragon453 <anoadragon453@users.noreply.github.com>2021-09-17 17:04:58 +0000
committeranoadragon453 <anoadragon453@users.noreply.github.com>2021-09-17 17:04:58 +0000
commita170155a5abc73a7cc61d01638b3f95e2648bb36 (patch)
tree3f60b4525bde613f8af748e8c11068f6d0ad4ba2 /develop/print.html
parentdeploy: 01c88a09cd6e90fa28c1282a56a08e481727ce20 (diff)
downloadsynapse-a170155a5abc73a7cc61d01638b3f95e2648bb36.tar.xz
deploy: 6b6bb81b23425cf4f8e0c739946783b98ad056b8
Diffstat (limited to 'develop/print.html')
-rw-r--r--develop/print.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/develop/print.html b/develop/print.html

index dc2b03ddb4..bf6e53dd17 100644 --- a/develop/print.html +++ b/develop/print.html
@@ -7720,9 +7720,9 @@ class IsUserEvilResource(Resource): self.evil_users = config.get(&quot;evil_users&quot;) or [] def render_GET(self, request: Request): - user = request.args.get(b&quot;user&quot;)[0] + user = request.args.get(b&quot;user&quot;)[0].decode() request.setHeader(b&quot;Content-Type&quot;, b&quot;application/json&quot;) - return json.dumps({&quot;evil&quot;: user in self.evil_users}) + return json.dumps({&quot;evil&quot;: user in self.evil_users}).encode() class ListSpamChecker: