mirror of
https://github.com/powerline/powerline.git
synced 2025-07-23 05:46:01 +02:00
Removed unnecessary code
This commit is contained in:
parent
b53708b577
commit
a5e5ed00d4
@ -164,7 +164,7 @@ def init_tmux_environment(pl, args, set_tmux_environment=set_tmux_environment):
|
|||||||
# But it does not support empty attributes as well.
|
# But it does not support empty attributes as well.
|
||||||
or 'none'))
|
or 'none'))
|
||||||
else:
|
else:
|
||||||
if powerline.common_config['term_truecolor'] is True:
|
if powerline.common_config['term_truecolor']:
|
||||||
set_tmux_environment(varname, '#{0:06x}'.format(get_highlighting(group)[attr][1]))
|
set_tmux_environment(varname, '#{0:06x}'.format(get_highlighting(group)[attr][1]))
|
||||||
else:
|
else:
|
||||||
set_tmux_environment(varname, 'colour' + str(get_highlighting(group)[attr][0]))
|
set_tmux_environment(varname, 'colour' + str(get_highlighting(group)[attr][0]))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user