[all] black code :)

This commit is contained in:
tobi-wan-kenobi 2020-05-09 21:24:28 +02:00
parent 320827d577
commit 92577e7d26
14 changed files with 291 additions and 192 deletions

View file

@ -159,8 +159,7 @@ class Module(core.module.Module):
for direction in ["rx", "tx"]:
name = "traffic.{}-{}".format(direction, interface)
widget = self.create_widget(
name,
attributes={"theme.minwidth": self.get_minwidth_str()},
name, attributes={"theme.minwidth": self.get_minwidth_str()},
)
prev = self._prev.get(name, 0)
bspeed = (int(data[direction]) - int(prev)) / timediff