Mark default value of default_module value
This commit is contained in:
parent
242a6a0f12
commit
26cc26a69a
|
@ -1223,7 +1223,8 @@ def get_all_possible_functions(data, context, echoerr):
|
||||||
if segment.get('type', 'function') == 'function':
|
if segment.get('type', 'function') == 'function':
|
||||||
module = segment.get(
|
module = segment.get(
|
||||||
'module',
|
'module',
|
||||||
theme_config.get('default_module', 'powerline.segments.' + data['ext'])
|
theme_config.get('default_module', MarkedUnicode(
|
||||||
|
'powerline.segments.' + data['ext'], None))
|
||||||
)
|
)
|
||||||
func = import_segment(name, data, context, echoerr, module=module)
|
func = import_segment(name, data, context, echoerr, module=module)
|
||||||
if func:
|
if func:
|
||||||
|
|
Loading…
Reference in New Issue