From c457048744736201df6b2d796e8ead86ad63a320 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 20 Mar 1998 20:45:49 +0000 Subject: Give in to the tab police. --- Lib/lib-tk/tkFileDialog.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Lib/lib-tk/tkFileDialog.py') diff --git a/Lib/lib-tk/tkFileDialog.py b/Lib/lib-tk/tkFileDialog.py index e0d5ae5f8b..e07e5d0739 100644 --- a/Lib/lib-tk/tkFileDialog.py +++ b/Lib/lib-tk/tkFileDialog.py @@ -41,14 +41,14 @@ class _Dialog(Dialog): pass def _fixresult(self, widget, result): - if result: - # keep directory and filename until next time + if result: + # keep directory and filename until next time import os - path, file = os.path.split(result) - self.options["initialdir"] = path - self.options["initialfile"] = file + path, file = os.path.split(result) + self.options["initialdir"] = path + self.options["initialfile"] = file self.filename = result # compatibility - return result + return result # -- cgit v1.2.1