Python error "AttributeError: 'NoneType' object has no ...
github.com › powerline › powerlineFeb 02, 2015 · def write_output (args, powerline, segment_info, write, encoding): if args. renderer_arg: segment_info. update (args. renderer_arg) if args. side. startswith ('above'): for line in powerline. render_above_lines ( width = args. width, segment_info = segment_info, mode = segment_info. get ('mode', None), ): write (line. encode (encoding, 'replace')) write (b' ') args. side = args. side [len ('above'):] if args. side: rendered = powerline. render ( width = args. width, side = args. side ...