Fix function name

Fixes #1248
This commit is contained in:
ZyX 2015-01-07 00:19:33 +03:00
parent 28ec9a5117
commit 2f885eb4d1
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ def init_environment(pl, args):
('_POWERLINE_SESSION_PREFIX_ATTR', 'attrs', 'session:prefix'),
):
if attr == 'attrs':
attrs = attr_to_tmux_attr(get_highlighting(group)[attr])
attrs = attrs_to_tmux_attrs(get_highlighting(group)[attr])
set_tmux_environment(varname, ']#['.join(attrs))
set_tmux_environment(varname + '_LEGACY', ','.join(attrs))
else: