Do not die on netifaces import failure

This commit is contained in:
François REYNAUD 2024-10-21 17:22:04 +02:00
commit 5baeae79bd

View file

@ -28,7 +28,7 @@ import random
try:
import netifaces
except:
sys.exit('You need to install python-netifaces or run Responder with python3...\nTry "apt-get install python-netifaces" or "pip install netifaces"')
print('You need to install python-netifaces or run Responder with python3...\nTry "apt-get install python-netifaces" or "pip install netifaces"')
from calendar import timegm