Skip to content

Commit dfcec06

Browse files
authored
import test fix
see plotly/dash#1493
1 parent 41bd602 commit dfcec06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dash_cytoscape/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from . import utils
1313

1414

15-
if not hasattr(_dash, 'development'):
15+
if not hasattr(_dash, '__plotly_dash') and not hasattr(_dash, 'development'):
1616
print('Dash was not successfully imported. '
1717
'Make sure you don\'t have a file '
1818
'named \n"dash.py" in your current directory.', file=_sys.stderr)

0 commit comments

Comments
 (0)