2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-04-02 23:36:26 +00:00

Fix netifaces fallback

If psutil is not available, continue with netifaces as before
This commit is contained in:
Jarrod Johnson
2025-06-17 15:43:15 -04:00
parent 4009aa1aa1
commit 7bde5c4291

View File

@@ -21,6 +21,7 @@ import codecs
try:
import psutil
except ImportError:
psutil = None
import netifaces
import struct
import eventlet.green.socket as socket