load plugin: get rid of list comprehension altogether

This commit is contained in:
Von Random 2019-03-11 16:19:52 +03:00
parent 0e0466d16e
commit de6888a5d2

View file

@ -15,5 +15,4 @@ class PluginThread(plugins.PluginThreadCommon):
else:
self.hide = True
self.status['urgent'] = False
loads = ['{:.2f}'.format(i) for i in loads]
self.status['full_text'] = 'LA: ' + ' '.join(loads)
self.status['full_text'] = 'LA: {:.2f} {:.2f} {:.2f}'.format(*loads)