mirror of https://github.com/python/cpython
SF bug 753592, websucker bug
Pass the proper variable when the user supplies a directory. Will backport.
This commit is contained in:
parent
168e73d25e
commit
592c4cc460
|
@ -24,6 +24,8 @@ Library
|
||||||
Tools/Demos
|
Tools/Demos
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
- SF bug 753592: webchecker/wsgui now handles user supplied directories.
|
||||||
|
|
||||||
Build
|
Build
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue