Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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 = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment