From 6431e8fbf42714fbe4edef4da523f28204f2da4d Mon Sep 17 00:00:00 2001 From: Michael Tofias Date: Tue, 31 Mar 2015 12:04:14 -0500 Subject: [PATCH] Removed another is True. --- flask_sslify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flask_sslify.py b/flask_sslify.py index 2bbc58a..8e965f8 100644 --- a/flask_sslify.py +++ b/flask_sslify.py @@ -55,7 +55,7 @@ class SSLify(object): request.headers.get('X-Forwarded-Proto', 'http') == 'https' ] - if not any(criteria) and not self.skip is True: + if not any(criteria) and not self.skip: if request.url.startswith('http://'): url = request.url.replace('http://', 'https://', 1) code = 302