Spell height more correctly

pull/46/head
Mark Haines 2015-02-02 16:29:18 +00:00
parent 22c1ffb0a0
commit 038f5afb07
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class IdenticonResource(Resource):
def render_GET(self, request):
name = "/".join(request.postpath)
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)
request.setHeader(b"Content-Type", b"image/png")
return identicon_bytes