Update network.py

interface was spelled wrong
This commit is contained in:
Zack Gold 2013-06-03 18:36:06 -06:00
parent 5371ab4276
commit 33e7f6559b

View File

@ -1,4 +1,3 @@
from itertools import zip_longest from itertools import zip_longest
import subprocess import subprocess
@ -73,7 +72,7 @@ class Network(IntervalModule):
def init(self): def init(self):
if self.interface not in netifaces.interfaces(): 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 = { self.baseinfo = {
"interface": self.interface, "interface": self.interface,