Browse Source

add forgotten import.

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
1b811cea6e
  1. 4
      pyweb/mumble/MumbleCtlIce.py

4
pyweb/mumble/MumbleCtlIce.py

@ -16,7 +16,7 @@
"""
from os.path import exists, join
from os import name as os_name
from os import unlink, name as os_name
from PIL import Image
from struct import pack, unpack
from zlib import compress, decompress
@ -114,7 +114,7 @@ def MumbleCtlIce( connstring, slicefile=None, icesecret=None ):
except RuntimeError:
raise RuntimeError( "Slice preprocessing failed. Please check your server's error log." )
finally:
os.unlink(temppath)
unlink(temppath)
else:
slicetemp = tempfile.NamedTemporaryFile( suffix='.ice' )
try:

Loading…
Cancel
Save