Merge branch 'master' of github.com:enkore/i3pystatus

This commit is contained in:
enkore 2013-07-01 20:41:27 +02:00
commit 2425216965

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,