Small bug fix

This commit is contained in:
arcan1s 2013-02-23 03:53:30 +04:00
parent e7bd2cc299
commit 70af1410f2
3 changed files with 1 additions and 1 deletions

BIN
screenshots/config.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

BIN
screenshots/panel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -243,7 +243,7 @@ class pyTextWidget(plasmascript.Applet):
self.down_speed = "%4s" % (value)
elif (sourceName == self.tempdev):
value = str(round(float(data[QString(u'value')]), 1))
self.tempText = "%s4" % (value)
self.tempText = "%s" % (value)
elif (sourceName == "mem/physical/free"):
self.mem_free = float(data[QString(u'value')])
elif (sourceName == "mem/physical/used"):