Also in another place, just in case
This commit is contained in:
parent
26cc26a69a
commit
8b30e9d33e
|
@ -855,7 +855,8 @@ def check_full_segment_data(segment, data, context, echoerr):
|
||||||
|
|
||||||
names = [segment['name']]
|
names = [segment['name']]
|
||||||
if segment.get('type', 'function') == 'function':
|
if segment.get('type', 'function') == 'function':
|
||||||
module = segment.get('module', context[0][1].get('default_module', 'powerline.segments.' + ext))
|
module = segment.get('module', context[0][1].get('default_module', MarkedUnicode(
|
||||||
|
'powerline.segments.' + ext, None)))
|
||||||
names.insert(0, unicode(module) + '.' + unicode(names[0]))
|
names.insert(0, unicode(module) + '.' + unicode(names[0]))
|
||||||
|
|
||||||
segment_copy = segment.copy()
|
segment_copy = segment.copy()
|
||||||
|
|
Loading…
Reference in New Issue