Eliminate spew when importing outside notebook.

This commit is contained in:
David Bau
2022-08-30 20:00:07 -04:00
parent 9f14a4f208
commit 6b1c4f67c4
+1 -1
View File
@@ -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():