From 829d3aff32d88f1e7d5963ea3db9095b1f89b171 Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Wed, 6 Apr 2016 12:05:25 +0300 Subject: [PATCH] start merging the statusbar.py-s. --- pysollib/tile/statusbar.py | 2 +- pysollib/tk/statusbar.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pysollib/tile/statusbar.py b/pysollib/tile/statusbar.py index 41590932..f5e7971a 100644 --- a/pysollib/tile/statusbar.py +++ b/pysollib/tile/statusbar.py @@ -29,7 +29,6 @@ import os, sys import Tkinter import ttk -from pysollib.mygettext import _, n_ if __name__ == '__main__': d = os.path.abspath(os.path.join(sys.path[0], os.pardir, os.pardir)) sys.path.append(d) @@ -37,6 +36,7 @@ if __name__ == '__main__': gettext.install('pysol', d, unicode=True) # PySol imports +from pysollib.mygettext import _, n_ # Toolkit imports from tkwidget import MfxTooltip diff --git a/pysollib/tk/statusbar.py b/pysollib/tk/statusbar.py index c433022b..6f93c953 100644 --- a/pysollib/tk/statusbar.py +++ b/pysollib/tk/statusbar.py @@ -25,7 +25,8 @@ __all__ = ['PysolStatusbar', 'HelpStatusbar'] # imports -import os, sys, Tkinter +import os, sys +import Tkinter if __name__ == '__main__': d = os.path.abspath(os.path.join(sys.path[0], os.pardir, os.pardir))