mirror of
https://github.com/powerline/powerline.git
synced 2025-07-26 23:35:04 +02:00
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':
|
||||
module = segment.get(
|
||||
'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)
|
||||
if func:
|
||||
|
Loading…
x
Reference in New Issue
Block a user