From 8a39c07427c524e84eeeaea0b0a4cbb69b703cc9 Mon Sep 17 00:00:00 2001 From: Edward Robinson Date: Wed, 31 Oct 2012 23:10:45 +0000 Subject: [PATCH] removed unnecessary reference to self.app --- flask_s3.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/flask_s3.py b/flask_s3.py index c03cbc7..343fe68 100644 --- a/flask_s3.py +++ b/flask_s3.py @@ -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): """