ti
ti copied to clipboard
ti log crashes with pipe
Hi,
Any idea why 'ti log' would crash anytime you try to pipe the output to another command? I'm running Python2.7 on Mac OSX Yosemite.
Output:
% ti log | grep PCO
Traceback (most recent call last):
File "/usr/local/bin/ti", line 434, in
Submitted pull request #19. For some reason when the output is piped, the unicode character '←' isn't being encoded properly. You could just convert that character to ascii (<--) or add the explicit encode after the string: '← working\n'.encode('utf-8')
The committed patch does appear to fix my issue. Thanks!