Added missing pl argument
It is a problem with git automatic merging.
This commit is contained in:
parent
18a05b4445
commit
6ecba94b9a
|
@ -45,7 +45,7 @@ segment_getters = {
|
|||
}
|
||||
|
||||
|
||||
def gen_segment_getter(ext, path, theme_configs, default_module=None):
|
||||
def gen_segment_getter(pl, ext, path, theme_configs, default_module=None):
|
||||
data = {
|
||||
'default_module': default_module or 'powerline.segments.' + ext,
|
||||
'path': path,
|
||||
|
|
|
@ -44,7 +44,7 @@ class Theme(object):
|
|||
theme_configs = [theme_config]
|
||||
if top_theme_config:
|
||||
theme_configs.append(top_theme_config)
|
||||
get_segment = gen_segment_getter(ext, common_config['paths'], theme_configs, theme_config.get('default_module'))
|
||||
get_segment = gen_segment_getter(pl, ext, common_config['paths'], theme_configs, theme_config.get('default_module'))
|
||||
for side in ['left', 'right']:
|
||||
for segment in theme_config['segments'].get(side, []):
|
||||
segment = get_segment(segment, side)
|
||||
|
|
Loading…
Reference in New Issue