Salome HOME
projects
/
modules
/
med.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Windows support
[modules/med.git]
/
src
/
MEDCalc
/
tui
/
medimages.py
diff --git
a/src/MEDCalc/tui/medimages.py
b/src/MEDCalc/tui/medimages.py
index ce152d5a3e7515442b7a4f410a06e6fba30fe157..6493341039f053f0a19374d4ae321e23f981a8c3 100644
(file)
--- a/
src/MEDCalc/tui/medimages.py
+++ b/
src/MEDCalc/tui/medimages.py
@@
-20,7
+20,12
@@
# Author : Guillaume Boulant (EDF)
-import MEDCoupling as MC
+import sys
+if sys.platform == "win32":
+ import MEDCouplingCompat as MC
+else:
+ import MEDCoupling as MC
+
import MEDLoader as ML
from PIL import Image