Fix stubbed_show_server_banner function, so CLI tests pass

This commit is contained in:
Micah Lee 2022-09-30 13:27:25 -07:00
parent 14dcf082cb
commit 6f9665f96b
No known key found for this signature in database
GPG key ID: 403C2657CD994F73

View file

@ -45,7 +45,7 @@ from .chat_mode import ChatModeWeb
# Stub out flask's show_server_banner function, to avoiding showing warnings that
# are not applicable to OnionShare
def stubbed_show_server_banner(env, debug, app_import_path, eager_loading):
def stubbed_show_server_banner(env, debug, app_import_path=None, eager_loading=None):
pass