Commit 0ff5d3cb authored by Daniel Toyra's avatar Daniel Toyra
Browse files

Fixed so trace commands can be parsed and output in Python 3

parent a7ebee6b
......@@ -1401,8 +1401,12 @@ class kat(object):
#if search > -1:
#print ("Trace 1: {0}".format(out[search:]))
# for now, just try to print the trace block in full
print (out[out.find(' ---') :])
# For now, just try to print the trace block in full.
# Converting to unicode so it works in python 3.
tmpOut = out.decode('unicode_escape')
print (tmpOut[tmpOut.find(' ---') :])
# print (out[out.find(' ---') :])
katfile.close()
perfData = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment