PyQt ProgressBar

@ LoneWolf, i’m using python 3.1 and its giving me this error when I compile the code

Traceback (most recent call last):
File “C:/Users/Matt/Desktop/progress.pyw”, line 25, in <module>
if output.contains("%"):
TypeError: Type str doesn’t support the buffer API

any ideas? do I need to use an updated syntax?