From dfcec06feef074d8d99477e8d3b5bc9933d2df36 Mon Sep 17 00:00:00 2001 From: Alex Johnson Date: Thu, 10 Dec 2020 12:08:26 -0500 Subject: [PATCH] import test fix see https://github.com/plotly/dash/pull/1493 --- dash_cytoscape/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)