summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVon Random <von@vdrandom.org>2019-03-11 16:19:52 +0300
committerVon Random <von@vdrandom.org>2019-03-11 16:19:52 +0300
commitde6888a5d235db7ccdfeb2462a0eff368a55b135 (patch)
treeb9609bfcddfd7057479cf5ee103f2c37d4e6e43b
parent0e0466d16e95bf4a58e7cae21a6e016e6854ea02 (diff)
load plugin: get rid of list comprehension altogether
-rw-r--r--plugins/load.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/load.py b/plugins/load.py
index 224dc60..8567fdd 100644
--- a/plugins/load.py
+++ b/plugins/load.py
@@ -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)