SF bug 753592, websucker bug

Pass the proper variable when the user supplies a directory.
Will backport.
This commit is contained in:
Neal Norwitz 2003-07-01 04:14:28 +00:00
parent 168e73d25e
commit 592c4cc460
2 changed files with 3 additions and 1 deletions

View File

@ -24,6 +24,8 @@ Library
Tools/Demos Tools/Demos
----------- -----------
- SF bug 753592: webchecker/wsgui now handles user supplied directories.
Build Build
----- -----

View File

@ -161,7 +161,7 @@ class App:
else: else:
self.sucker.savedir = dir self.sucker.savedir = dir
self.sucker.rootdir = os.path.dirname( self.sucker.rootdir = os.path.dirname(
websucker.Sucker.savefilename(self, url)) websucker.Sucker.savefilename(self.sucker, url))
self.go_button.configure(state=DISABLED) self.go_button.configure(state=DISABLED)
self.auto_button.configure(state=DISABLED) self.auto_button.configure(state=DISABLED)
self.cancel_button.configure(state=NORMAL) self.cancel_button.configure(state=NORMAL)