mirror of
https://github.com/wassname/baukit.git
synced 2026-06-27 16:14:33 +08:00
Eliminate spew when importing outside notebook.
This commit is contained in:
+1
-1
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user