summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2003-07-01 04:14:28 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2003-07-01 04:14:28 (GMT)
commit592c4cc46059e6443b7ae235c73180b75a3a69f7 (patch)
tree80d0a734fe777753083930e16209b2e021b72d5c
parent168e73d25e965888aa307fd74de597a35b660e1b (diff)
downloadcpython-592c4cc46059e6443b7ae235c73180b75a3a69f7.zip
cpython-592c4cc46059e6443b7ae235c73180b75a3a69f7.tar.gz
cpython-592c4cc46059e6443b7ae235c73180b75a3a69f7.tar.bz2
SF bug 753592, websucker bug
Pass the proper variable when the user supplies a directory. Will backport.
-rw-r--r--Misc/NEWS2
-rwxr-xr-xTools/webchecker/wsgui.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 022a1a6..af190bd 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -24,6 +24,8 @@ Library
Tools/Demos
-----------
+- SF bug 753592: webchecker/wsgui now handles user supplied directories.
+
Build
-----
diff --git a/Tools/webchecker/wsgui.py b/Tools/webchecker/wsgui.py
index e44c6cd..0c851ca 100755
--- a/Tools/webchecker/wsgui.py
+++ b/Tools/webchecker/wsgui.py
@@ -161,7 +161,7 @@ class App:
else:
self.sucker.savedir = dir
self.sucker.rootdir = os.path.dirname(
- websucker.Sucker.savefilename(self, url))
+ websucker.Sucker.savefilename(self.sucker, url))
self.go_button.configure(state=DISABLED)
self.auto_button.configure(state=DISABLED)
self.cancel_button.configure(state=NORMAL)