mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-03 22:25:49 +08:00
Correctly detect missing FreeImage.
This commit is contained in:
@@ -17,7 +17,7 @@ try:
|
||||
io.use_plugin('freeimage')
|
||||
FI_available = True
|
||||
priority_plugin = 'freeimage'
|
||||
except ImportError:
|
||||
except OSError:
|
||||
FI_available = False
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user