strip the output
This commit is contained in:
parent
fb303e048f
commit
43ccca3b7e
|
@ -335,7 +335,7 @@ class FetchStatusBarCodingTime(threading.Thread):
|
|||
try:
|
||||
process = Popen(cmd, stdout=PIPE, stderr=STDOUT)
|
||||
output, err = process.communicate()
|
||||
output = u(output)
|
||||
output = u(output).strip()
|
||||
retcode = process.poll()
|
||||
if not retcode and output:
|
||||
msg = 'Today: {output}'.format(output=output)
|
||||
|
|
Loading…
Reference in New Issue