mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Spell height more correctly
This commit is contained in:
parent
22c1ffb0a0
commit
038f5afb07
@ -42,7 +42,7 @@ class IdenticonResource(Resource):
|
|||||||
def render_GET(self, request):
|
def render_GET(self, request):
|
||||||
name = "/".join(request.postpath)
|
name = "/".join(request.postpath)
|
||||||
width = int(request.args.get("width", 96))
|
width = int(request.args.get("width", 96))
|
||||||
height = int(request.args.get("width", 96))
|
height = int(request.args.get("height", 96))
|
||||||
identicon_bytes = self.generate_identicon(name, width, height)
|
identicon_bytes = self.generate_identicon(name, width, height)
|
||||||
request.setHeader(b"Content-Type", b"image/png")
|
request.setHeader(b"Content-Type", b"image/png")
|
||||||
return identicon_bytes
|
return identicon_bytes
|
||||||
|
Loading…
Reference in New Issue
Block a user