From 6b1c4f67c40060f3aa04708bca5438ddbd6ae6cd Mon Sep 17 00:00:00 2001 From: David Bau Date: Tue, 30 Aug 2022 20:00:07 -0400 Subject: [PATCH] Eliminate spew when importing outside notebook. --- baukit/labwidget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/baukit/labwidget.py b/baukit/labwidget.py index 3fcf250..ac38e7f 100644 --- a/baukit/labwidget.py +++ b/baukit/labwidget.py @@ -1212,7 +1212,7 @@ if WIDGET_ENV is None: COMM_MANAGER = ipython_get_ipython().kernel.comm_manager WIDGET_ENV = 'jupyter' except Exception as e: - print(e) + # print(e) pass def no_env_warning():