diff --git a/confluent_client/confluent/tlvdata.py b/confluent_client/confluent/tlvdata.py index e0d3d9f4..7fcb663b 100644 --- a/confluent_client/confluent/tlvdata.py +++ b/confluent_client/confluent/tlvdata.py @@ -19,8 +19,12 @@ import array import ctypes import ctypes.util import confluent.tlv as tlv -import eventlet.green.socket as socket -import eventlet.green.select as select +try: + import eventlet.green.socket as socket + import eventlet.green.select as select +except ImportError: + import socket + import select from datetime import datetime import json import os