Give in to the tab police.

This commit is contained in:
Guido van Rossum 1998-03-20 20:45:49 +00:00
parent 6f73c1a2ac
commit c457048744
6 changed files with 286 additions and 276 deletions

View file

@ -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
#