Skip to content

Commit 11c372a

Browse files
author
Hugo Camino
committed
Removing unnecessary param.
1 parent c0565ab commit 11c372a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyms/flask/app/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ def __init__(self, service: Text, path=__file__):
1919
self.service = service
2020
self.path = os.path.dirname(path)
2121

22-
def init_libs(self, app):
23-
return app
22+
def init_libs(self):
23+
return self.application
2424

2525
def create_app(self):
2626
"""Initialize the Flask app, register blueprints and initialize
@@ -44,7 +44,7 @@ def create_app(self):
4444
# Initialize Blueprints
4545
self.application.register_blueprint(healthcheck_blueprint)
4646

47-
self.init_libs(self.application)
47+
self.init_libs()
4848
self.add_error_handlers()
4949

5050
# Inject Modules

0 commit comments

Comments
 (0)