From 6f9665f96bc9b286c781f9ab469b85887e80c11e Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Fri, 30 Sep 2022 13:27:25 -0700 Subject: Fix stubbed_show_server_banner function, so CLI tests pass --- cli/onionshare_cli/web/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli') diff --git a/cli/onionshare_cli/web/web.py b/cli/onionshare_cli/web/web.py index fdbed567..0e7ba6d5 100644 --- a/cli/onionshare_cli/web/web.py +++ b/cli/onionshare_cli/web/web.py @@ -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 -- cgit v1.2.3-54-g00ecf