[modules/network_traffic] Minor refactoring

This commit is contained in:
tobi-wan-kenobi 2020-05-18 12:56:41 +02:00
parent 172781d2c4
commit fbbd95b7a8

View file

@ -32,9 +32,6 @@ class Module(core.module.Module):
] ]
super().__init__(config, theme, widgets) super().__init__(config, theme, widgets)
self.widgets()[0].module = self
self.widgets()[1].module = self
self.widgets()[0].set("theme.minwidth", "0000000KiB/s") self.widgets()[0].set("theme.minwidth", "0000000KiB/s")
self.widgets()[1].set("theme.minwidth", "0000000KiB/s") self.widgets()[1].set("theme.minwidth", "0000000KiB/s")