Skip to content

Commit 542646e

Browse files
authored
Merge pull request #113 from plotly/import-test
Fix import test
2 parents bdee2b3 + 901e162 commit 542646e

File tree

1 file changed

+1
-1
lines changed
  • {{cookiecutter.project_shortname}}/{{cookiecutter.project_shortname}}

1 file changed

+1
-1
lines changed

{{cookiecutter.project_shortname}}/{{cookiecutter.project_shortname}}/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from ._imports_ import *
1111
from ._imports_ import __all__
1212

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

0 commit comments

Comments
 (0)