Closed tsgit closed 5 years ago
SERVER_NAME is a always present as a key in app.app_context(), but initialized to None. Therefore the usual way to define a default does not apply. This patch sets default_server as intended if no SERVER_NAME is defined in the app context.
SERVER_NAME
app.app_context()
None
Signed-off-by: Thorsten Schwander thorsten.schwander@gmail.com
SERVER_NAME
is a always present as a key inapp.app_context()
, but initialized toNone
. Therefore the usual way to define a default does not apply. This patch sets default_server as intended if no SERVER_NAME is defined in the app context.Signed-off-by: Thorsten Schwander thorsten.schwander@gmail.com