Also in another place, just in case

This commit is contained in:
ZyX 2014-08-24 23:06:30 +04:00
parent 26cc26a69a
commit 8b30e9d33e
1 changed files with 2 additions and 1 deletions

View File

@ -855,7 +855,8 @@ def check_full_segment_data(segment, data, context, echoerr):
names = [segment['name']]
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]))
segment_copy = segment.copy()