File tree 1 file changed +5
-8
lines changed
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -52,15 +52,12 @@ def find_env():
52
52
# jupyterlab may not be available
53
53
pass
54
54
try :
55
- import_module ("imjoy-jupyterlab-extension " )
55
+ import_module ("imjoy_jupyterlab_extension " )
56
56
except ModuleNotFoundError :
57
- try :
58
- import_module ("imjoy_jupyterlab_extension" )
59
- except ModuleNotFoundError :
60
- if ENVIRONMENT is Env .JUPYTERLITE :
61
- raise RuntimeError ('imjoy-jupyterlab-extension is required. Install the package and refresh page.' )
62
- elif sys .version_info .minor > 7 :
63
- raise RuntimeError ('imjoy-jupyterlab-extension is required. `pip install itkwidgets[lab]` and refresh page.' )
57
+ if ENVIRONMENT is Env .JUPYTERLITE :
58
+ raise RuntimeError ('imjoy-jupyterlab-extension is required. Install the package and refresh page.' )
59
+ elif sys .version_info .minor > 7 :
60
+ raise RuntimeError ('imjoy-jupyterlab-extension is required. `pip install itkwidgets[lab]` and refresh page.' )
64
61
65
62
try :
66
63
import imjoy_elfinder
You can’t perform that action at this time.
0 commit comments