self.app in __init__ is not needed anymore

This commit is contained in:
Jeffrey Gelens
2013-07-18 09:45:33 +02:00
parent 9c12df10c4
commit d2a0f8330f
-1
View File
@@ -10,7 +10,6 @@ class SSLify(object):
def __init__(self, app=None, age=YEAR_IN_SECS, subdomains=False, permanent=False):
if app is not None:
self.app = app
self.hsts_age = age
self.hsts_include_subdomains = subdomains
self.permanent = permanent