Skip to content

Commit 6e59a50

Browse files
committed
remove else
1 parent 5ec780a commit 6e59a50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: packages/python/plotly/_plotly_utils/optional_imports.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ def get_module(name, should_load=True):
3333
_not_importable.add(name)
3434
msg = f"Error importing optional module {name}"
3535
logger.exception(msg)
36-
else:
37-
return None
36+
37+
return None

0 commit comments

Comments
 (0)