diff options
author | Von Random <von@vdrandom.org> | 2019-03-11 16:19:52 +0300 |
---|---|---|
committer | Von Random <von@vdrandom.org> | 2019-03-11 16:19:52 +0300 |
commit | de6888a5d235db7ccdfeb2462a0eff368a55b135 (patch) | |
tree | b9609bfcddfd7057479cf5ee103f2c37d4e6e43b | |
parent | 0e0466d16e95bf4a58e7cae21a6e016e6854ea02 (diff) |
load plugin: get rid of list comprehension altogether
-rw-r--r-- | plugins/load.py | 3 |
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) |