diff --git a/dash_cytoscape/__init__.py b/dash_cytoscape/__init__.py index 28e04286..4cc9ef9a 100644 --- a/dash_cytoscape/__init__.py +++ b/dash_cytoscape/__init__.py @@ -12,7 +12,7 @@ from . import utils -if not hasattr(_dash, 'development'): +if not hasattr(_dash, '__plotly_dash') and not hasattr(_dash, 'development'): print('Dash was not successfully imported. ' 'Make sure you don\'t have a file ' 'named \n"dash.py" in your current directory.', file=_sys.stderr)