mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-21 17:49:57 +00:00
fix bugs that were found
This commit is contained in:
@ -147,7 +147,7 @@ class DataEngine:
|
||||
self.parent.netFormat = self.parent.netNonFormat
|
||||
elif (str(sourceName).split('/')[0] == "lmsensors"):
|
||||
value = str(round(float(data[QString(u'value')]), 1))
|
||||
self.parent.temp[sourceName] = "%4s" % (value)
|
||||
self.parent.temp[str(sourceName)] = "%4s" % (value)
|
||||
elif (str(sourceName).split('/')[0] == "partitions"):
|
||||
value = str(round(float(data[QString(u'value')]), 1))
|
||||
self.parent.mount['/'+'/'.join(str(sourceName).split('/')[1:-1])] = "%5s" % (value)
|
||||
|
Reference in New Issue
Block a user