From 2fccd3c8bcf1eea10c85398b2a1d56e11b4413ab Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 2 Jul 2014 09:59:05 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- examples/plugins/alsa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/plugins/alsa b/examples/plugins/alsa index f11183b..dbdfe75 100644 --- a/examples/plugins/alsa +++ b/examples/plugins/alsa @@ -21,7 +21,7 @@ def start(): start_() async(lambda : clock.continuous_sync(lambda : bar.invalidate())) -text_v = lambda v : '---' if v is None else ('%2i%%' % v)[:3] +text_v = lambda v : '--%' if v is None else ('%2i%%' % v)[:3] read_m = lambda m : '%s: %s' % (m.mixername, ' '.join(text_v(v) for v in m.get_volume())) read_c = lambda c : '%s │ %s' % (c[0].cardname, ' │ '.join(read_m(m) for m in c)) -- cgit v1.2.3-70-g09d2