Merge pull request #4 from bl4de/master

User can press 'y' as well as 'Y' to confirm following redirection
pull/5/head
Swissky 2017-06-11 14:59:31 +02:00 committed by GitHub
commit 5d60e74667
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class Wordpress:
print notice("The remote host tried to redirect to: %s" % r.headers['location']) print notice("The remote host tried to redirect to: %s" % r.headers['location'])
user_input = str(raw_input("[?] Do you want to follow the redirection ? [Y]es [N]o, ")) user_input = str(raw_input("[?] Do you want to follow the redirection ? [Y]es [N]o, "))
if user_input == "Y": if user_input.lower() == "y":
self.url = r.headers['location'] self.url = r.headers['location']
else: else: