Commit 03b3337228069b86bcd2a6d30e41e1e53da273ee

Authored by Thiago Franco de Moraes
Committed by thiago
1 parent 1a25da81
Exists in wxgtk3_b5

putting the import pil inside a try except

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
invesalius/gui/data_notebook.py
... ... @@ -22,9 +22,9 @@ import sys
22 22 import platform
23 23  
24 24 try:
25   - from PIL import Image
26   -except(ImportError):
27 25 import Image
  26 +except ImportError:
  27 + from PIL import Image
28 28  
29 29 import wx
30 30 import wx.grid
... ...