Exception in Thread:must be a sequence, not instance
The args
parameter to threading.Thread
should be a tuple and you are passing (q)
which is not - it is the same as q
.
I guess you wanted a 1-element tuple: you should would write (q,)
.
The args
parameter to threading.Thread
should be a tuple and you are passing (q)
which is not - it is the same as q
.
I guess you wanted a 1-element tuple: you should would write (q,)
.