This commit is contained in:
arcan1s 2013-05-03 15:07:31 +04:00
parent 608025c9fb
commit 5a8b30b085

View File

@ -615,6 +615,7 @@ class pyTextWidget(plasmascript.Applet):
self.label_netUp.setText(text)
elif (sourceName == "network/interfaces/"+self.netdev+"/receiver/data"):
value = str(data[QString(u'value')]).split('.')[0]
print data[QString(u'value')]
down_speed = "%4s" % (value)
if (self.netFormat.split('$net')[0] != self.netFormat):
line = self.netFormat.split('$net')[0] + down_speed