mirror of
https://github.com/not-kennethreitz/flask-sslify.git
synced 2026-06-05 06:56:15 +00:00
More current_app cleanup.
This commit is contained in:
+1
-2
@@ -15,8 +15,7 @@ class SSLify(object):
|
||||
self.skip_list = skips or app.config.get('SSL_SKIPS')
|
||||
|
||||
if app is not None:
|
||||
self.app = app
|
||||
self.init_app(self.app)
|
||||
self.init_app(app)
|
||||
else:
|
||||
self.app = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user