|
@ -543,7 +543,10 @@ class MumbleCtlIce_123(MumbleCtlIce_120): |
|
|
if len(texture) == 0: |
|
|
if len(texture) == 0: |
|
|
raise ValueError( "No Texture has been set." ); |
|
|
raise ValueError( "No Texture has been set." ); |
|
|
from StringIO import StringIO |
|
|
from StringIO import StringIO |
|
|
|
|
|
try: |
|
|
return Image.open( StringIO( texture ) ) |
|
|
return Image.open( StringIO( texture ) ) |
|
|
|
|
|
except IOError, err: |
|
|
|
|
|
raise ValueError( err ) |
|
|
|
|
|
|
|
|
@protectDjangoErrPage |
|
|
@protectDjangoErrPage |
|
|
def setTexture(self, srvid, mumbleid, infile): |
|
|
def setTexture(self, srvid, mumbleid, infile): |
|
|