Update network.py
interface was spelled wrong
This commit is contained in:
parent
5371ab4276
commit
33e7f6559b
@ -1,4 +1,3 @@
|
||||
|
||||
from itertools import zip_longest
|
||||
import subprocess
|
||||
|
||||
@ -73,7 +72,7 @@ class Network(IntervalModule):
|
||||
|
||||
def init(self):
|
||||
if self.interface not in netifaces.interfaces():
|
||||
raise RuntimeError("Unknown inteface {iface}!".format(iface=self.inteface))
|
||||
raise RuntimeError("Unknown interface {iface}!".format(iface=self.interface))
|
||||
|
||||
self.baseinfo = {
|
||||
"interface": self.interface,
|
||||
|
Loading…
Reference in New Issue
Block a user