This commit is contained in:
arcan1s 2013-05-03 15:10:33 +04:00
parent 5a8b30b085
commit b02bfb9469

View File

@ -615,7 +615,6 @@ 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