mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-27 18:17:46 +00:00
12 lines
323 B
Python
12 lines
323 B
Python
from __future__ import absolute_import
|
|
|
|
from future.utils import PY3
|
|
|
|
if PY3:
|
|
from tkinter.filedialog import *
|
|
else:
|
|
try:
|
|
from FileDialog import *
|
|
except ImportError:
|
|
raise ImportError('The FileDialog module is missing. Does your Py2 '
|
|
'installation include tkinter?')
|