mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-22 22:10:42 +00:00
12 lines
306 B
Python
12 lines
306 B
Python
from __future__ import absolute_import
|
|
|
|
from future.utils import PY3
|
|
|
|
if PY3:
|
|
from tkinter.dnd import *
|
|
else:
|
|
try:
|
|
from Tkdnd import *
|
|
except ImportError:
|
|
raise ImportError('The Tkdnd module is missing. Does your Py2 '
|
|
'installation include tkinter?')
|