summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/tkFileDialog.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/lib-tk/tkFileDialog.py')
-rw-r--r--Lib/lib-tk/tkFileDialog.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/lib-tk/tkFileDialog.py b/Lib/lib-tk/tkFileDialog.py
index e0d5ae5..e07e5d0 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
#