mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-01-08 04:00:01 -08:00
9f727d0086
* Bump future from 0.18.2 to 0.18.3 Bumps [future](https://github.com/PythonCharmers/python-future) from 0.18.2 to 0.18.3. - [Release notes](https://github.com/PythonCharmers/python-future/releases) - [Changelog](https://github.com/PythonCharmers/python-future/blob/master/docs/changelog.rst) - [Commits](https://github.com/PythonCharmers/python-future/compare/v0.18.2...v0.18.3) --- updated-dependencies: - dependency-name: future dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update future==0.18.3 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> [skip ci]
19 lines
534 B
Python
19 lines
534 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?')
|
|
|
|
try:
|
|
from tkFileDialog import *
|
|
except ImportError:
|
|
raise ImportError('The tkFileDialog module is missing. Does your Py2 '
|
|
'installation include tkinter?')
|