Skip to content

Commit 9cb5993

Browse files
authored
Fix import error on systems without libsasl2.so.3
1 parent 575f6c7 commit 9cb5993

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/confluent_kafka/cimpl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
if not name.startswith("__"):
1111
globals()[name] = getattr(module, name)
1212
break
13-
except ModuleNotFoundError:
13+
except ImportError:
1414
pass
1515

1616
if variant is None:

0 commit comments

Comments
 (0)