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:
@@ -21,6 +21,7 @@ import codecs
|
||||
try:
|
||||
import psutil
|
||||
except ImportError:
|
||||
psutil = None
|
||||
import netifaces
|
||||
import struct
|
||||
import eventlet.green.socket as socket
|
||||
|
||||
Reference in New Issue
Block a user