Browse Source

changed output format to PNG because it has transparency

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

4
pyweb/mumble/views.py

@ -136,8 +136,8 @@ def showTexture( request, server ):
raise Http404(); raise Http404();
else: else:
buffer = StringIO(); buffer = StringIO();
img.save( buffer, "JPEG" );
return HttpResponse( buffer.getvalue(), "image/jpeg" );
img.save( buffer, "PNG" );
return HttpResponse( buffer.getvalue(), "image/png" );
raise Http404(); raise Http404();
def showContent( server, user = None ): def showContent( server, user = None ):

Loading…
Cancel
Save