From 1b811cea6e380d5f97da5381f5b7bf6b74c9d621 Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Wed, 24 Feb 2010 16:33:05 +0100 Subject: [PATCH] add forgotten import. --- pyweb/mumble/MumbleCtlIce.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyweb/mumble/MumbleCtlIce.py b/pyweb/mumble/MumbleCtlIce.py index 53c3be8..c6f9c6e 100644 --- a/pyweb/mumble/MumbleCtlIce.py +++ b/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: