summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/asymptote/GUI/xasyActions.py
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/asymptote/GUI/xasyActions.py')
-rwxr-xr-xMaster/texmf-dist/asymptote/GUI/xasyActions.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/texmf-dist/asymptote/GUI/xasyActions.py b/Master/texmf-dist/asymptote/GUI/xasyActions.py
index 38aae1d5c7e..95411c5d9a4 100755
--- a/Master/texmf-dist/asymptote/GUI/xasyActions.py
+++ b/Master/texmf-dist/asymptote/GUI/xasyActions.py
@@ -9,9 +9,13 @@
#
###########################################################################
import math
+import sys
import UndoRedoStack
import xasy2asy
-from Tkinter import *
+if sys.version_info >= (3, 0):
+ from tkinter import *
+else:
+ from Tkinter import *
class translationAction(UndoRedoStack.action):
def __init__(self,owner,itemList,indexList,translation):