Browse Source

set qr code scale to 82

Natenom/support-murmur-13-1446181288462
Michael Ziegler 14 years ago
parent
commit
d76a3cdacc
  1. 2
      pyweb/mumble/views.py

2
pyweb/mumble/views.py

@ -251,7 +251,7 @@ def qrcode( request, server ):
{ False: "http", True: "https" }[request.is_secure()], { False: "http", True: "https" }[request.is_secure()],
Site.objects.get_current().domain, Site.objects.get_current().domain,
reverse( embed, kwargs={ 'server': server } ) reverse( embed, kwargs={ 'server': server } )
), 100 )
), 82 )
buf = StringIO() buf = StringIO()
img.save( buf, "PNG" ) img.save( buf, "PNG" )
return HttpResponse( buf.getvalue(), "image/png" ) return HttpResponse( buf.getvalue(), "image/png" )

Loading…
Cancel
Save