Arglblargl *actually* fix redirects.

This commit is contained in:
Solderpunk 2020-05-31 14:24:23 +02:00
parent 34e97e4cf3
commit 08ce625575
1 changed files with 1 additions and 1 deletions

View File

@ -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)
# Otherwise, follow away
else:
follow == "yes"
follow = "yes"
if follow.strip().lower() not in ("y", "yes"):
return
self._debug("Following redirect to %s." % new_gi.url)