From 83bf65899255a5c6f9ad602657af032e9803d480 Mon Sep 17 00:00:00 2001 From: Thiago Franco de Moraes Date: Mon, 28 Jul 2014 15:06:04 -0300 Subject: [PATCH] putting the import pil inside a try except --- invesalius/gui/data_notebook.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invesalius/gui/data_notebook.py b/invesalius/gui/data_notebook.py index eff129a..50c60b7 100644 --- a/invesalius/gui/data_notebook.py +++ b/invesalius/gui/data_notebook.py @@ -22,9 +22,9 @@ import sys import platform try: - from PIL import Image -except(ImportError): import Image +except ImportError: + from PIL import Image import wx import wx.grid -- libgit2 0.21.2