From e2c709481c38730c11267c1aaa4bd21e52d8a446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Mand=C3=A1k?= Date: Sat, 17 Jan 2015 19:59:20 +0100 Subject: [PATCH] Fixed variable name. --- i3pystatus/pulseaudio/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i3pystatus/pulseaudio/__init__.py b/i3pystatus/pulseaudio/__init__.py index 6aaef19..2d293b5 100644 --- a/i3pystatus/pulseaudio/__init__.py +++ b/i3pystatus/pulseaudio/__init__.py @@ -46,7 +46,7 @@ class PulseAudio(Module, ColorRangeModule): color_unmuted = "#FFFFFF" step = 5 - step_db = False + step_in_db = False multi_colors = False bar_type = 'vertical' vertical_bar_width = 2 @@ -80,7 +80,7 @@ class PulseAudio(Module, ColorRangeModule): self.colors = self.get_hex_color_range(self.color_muted, self.color_unmuted, 100) self.sink_utf = None - self.unit = "dB" if self.step_db else "%" + self.unit = "dB" if self.step_in_db else "%" def request_update(self, context): """Requests a sink info update (sink_info_cb is called)"""