Skip to content

Commit 5d38178

Browse files
authored
Fix return in wrong block in get_extension_class (#4446)
1 parent 3255330 commit 5d38178

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/spikeinterface/core/sortinganalyzer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2198,7 +2198,7 @@ def get_extension_class(extension_name: str, auto_import=True):
21982198
warnings.warn(
21992199
f"Extension '{extension_name}' is unknown. Maybe this is an external extension, a typo or was computed by a different version of SpikeInterface."
22002200
)
2201-
return None
2201+
return None
22022202

22032203
ext_class = extensions_dict[extension_name]
22042204
return ext_class

0 commit comments

Comments
 (0)