diff options
| -rw-r--r-- | py3status/modules/volume_status.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/py3status/modules/volume_status.py b/py3status/modules/volume_status.py index 2ef59fe..14a92a1 100644 --- a/py3status/modules/volume_status.py +++ b/py3status/modules/volume_status.py @@ -64,8 +64,7 @@ class Py3status: # return the format string formatted with available variables def _format_output(self, format, percentage): - text = format - text = text.replace("{percentage}", percentage) + text = format.format(percentage=percentage) return text # return the current channel volume value as a string |
