From 37be32c6ad92fc64268b856051f68d0b504cb7f5 Mon Sep 17 00:00:00 2001 From: "bloorq@gmail.com" Date: Sun, 11 Jun 2017 10:32:43 +0100 Subject: [PATCH] User can press 'y' as well as 'Y' to confirm following redirection --- engine/wordpress.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/wordpress.py b/engine/wordpress.py index 26757cd..dec6cae 100644 --- a/engine/wordpress.py +++ b/engine/wordpress.py @@ -81,7 +81,7 @@ class Wordpress: 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, ")) - if user_input == "Y": + if user_input.lower() == "y": self.url = r.headers['location'] else: