Open liltato69 opened 3 years ago
sudo python3 kickthemout.py CRITICAL: Can't open /proc/net/dev ! CRITICAL: Can't open /proc/net/route ! CRITICAL: Can't open /proc/net/dev ! Traceback (most recent call last): File "/root/kickthemout/kickthemout.py", line 756, in defaultInterface = getDefaultInterface() File "/root/kickthemout/kickthemout.py", line 154, in getDefaultInterface network, netmask, , interface, address, = max(iface_routes, key=lambda item:item[1]) ValueError: max() arg is an empty sequence
1 year ago and no response...
sudo python3 kickthemout.py CRITICAL: Can't open /proc/net/dev ! CRITICAL: Can't open /proc/net/route ! CRITICAL: Can't open /proc/net/dev ! Traceback (most recent call last): File "/root/kickthemout/kickthemout.py", line 756, in
defaultInterface = getDefaultInterface()
File "/root/kickthemout/kickthemout.py", line 154, in getDefaultInterface
network, netmask, , interface, address, = max(iface_routes, key=lambda item:item[1])
ValueError: max() arg is an empty sequence