Skip to content
Snippets Groups Projects
Commit 8caac0f2 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

FlaskUtils: refactoring: make method public

parent 2b8e1a63
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ class FlaskBaseApp(ABC):
with open(settingsPath, 'r', encoding='UTF-8') as f:
return json.load(f)
def __init_app(self):
def init_app(self):
app = self._create_flask_app()
app.secret_key = self._serverSettings['secret']
......@@ -83,7 +83,7 @@ class FlaskBaseApp(ABC):
pass
def start_server(self):
self._app = self.__init_app()
self._app = self.init_app()
if self._serverSettings['useSSL']:
protocol = 'https'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment