From 4ed0515bc37d2bfb8eb00fb6e03a23befe6a553b Mon Sep 17 00:00:00 2001 From: paulojamorim Date: Wed, 13 Jan 2010 17:11:39 +0000 Subject: [PATCH] FIX: Exception in the windows remove temp file --- invesalius/data/surface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invesalius/data/surface.py b/invesalius/data/surface.py index a1eb2c7..314dffa 100644 --- a/invesalius/data/surface.py +++ b/invesalius/data/surface.py @@ -266,7 +266,7 @@ class SurfaceManager(): os.remove(filename_polydata) except (WindowsError): print "Error while removing surface temporary file" - if sys.platform == 'linux2': + elif sys.platform == 'linux2': try: os.remove(filename_img) os.remove(filename_polydata) -- libgit2 0.21.2