forked from solderpunk/AV-98
Arglblargl *actually* fix redirects.
This commit is contained in:
parent
34e97e4cf3
commit
08ce625575
2
av98.py
2
av98.py
|
@ -432,7 +432,7 @@ Slow internet connection? Use 'set timeout' to be more patient.""")
|
||||||
follow = input("Follow redirect to %s? (y/n) " % new_gi.url)
|
follow = input("Follow redirect to %s? (y/n) " % new_gi.url)
|
||||||
# Otherwise, follow away
|
# Otherwise, follow away
|
||||||
else:
|
else:
|
||||||
follow == "yes"
|
follow = "yes"
|
||||||
if follow.strip().lower() not in ("y", "yes"):
|
if follow.strip().lower() not in ("y", "yes"):
|
||||||
return
|
return
|
||||||
self._debug("Following redirect to %s." % new_gi.url)
|
self._debug("Following redirect to %s." % new_gi.url)
|
||||||
|
|
Loading…
Reference in New Issue