summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/asymptote/GUI
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/asymptote/GUI')
-rwxr-xr-xMaster/texmf-dist/asymptote/GUI/xasy2asy.py4
-rwxr-xr-xMaster/texmf-dist/asymptote/GUI/xasyMainWin.py4
-rwxr-xr-xMaster/texmf-dist/asymptote/GUI/xasyVersion.py2
3 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/asymptote/GUI/xasy2asy.py b/Master/texmf-dist/asymptote/GUI/xasy2asy.py
index 7779e073f81..984bd1f5dd9 100755
--- a/Master/texmf-dist/asymptote/GUI/xasy2asy.py
+++ b/Master/texmf-dist/asymptote/GUI/xasy2asy.py
@@ -18,8 +18,8 @@ from tempfile import mkdtemp
# PIL support is now mandatory due to rotations
try:
- import ImageTk
- import Image
+ from PIL import ImageTk
+ from PIL import Image
except:
pass
diff --git a/Master/texmf-dist/asymptote/GUI/xasyMainWin.py b/Master/texmf-dist/asymptote/GUI/xasyMainWin.py
index 0967107ac1a..e3a0044011a 100755
--- a/Master/texmf-dist/asymptote/GUI/xasyMainWin.py
+++ b/Master/texmf-dist/asymptote/GUI/xasyMainWin.py
@@ -40,8 +40,8 @@ from xasyActions import *
import string
try:
- import ImageTk
- import Image
+ from PIL import ImageTk
+ from PIL import Image
PILAvailable = True
except:
PILAvailable = False
diff --git a/Master/texmf-dist/asymptote/GUI/xasyVersion.py b/Master/texmf-dist/asymptote/GUI/xasyVersion.py
index 3afa87ce72c..692c96cf45c 100755
--- a/Master/texmf-dist/asymptote/GUI/xasyVersion.py
+++ b/Master/texmf-dist/asymptote/GUI/xasyVersion.py
@@ -1,2 +1,2 @@
#!/usr/bin/env python
-xasyVersion = "2.21"
+xasyVersion = "2.22"