Removed another is True.

This commit is contained in:
Michael Tofias
2015-03-31 12:04:14 -05:00
parent 594d927a97
commit 6431e8fbf4
+1 -1
View File
@@ -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