mirror of
https://github.com/wassname/flask-s3.git
synced 2026-07-19 11:23:25 +08:00
removed unnecessary reference to self.app
This commit is contained in:
+1
-3
@@ -171,10 +171,8 @@ class FlaskS3(object):
|
||||
:type app: :class:`flask.Flask` or None
|
||||
"""
|
||||
def __init__(self, app=None):
|
||||
self.app = None
|
||||
if app is not None:
|
||||
self.app = app
|
||||
self.init_app(self.app)
|
||||
self.init_app(app)
|
||||
|
||||
def init_app(self, app):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user