In the run()
method of your thread class MyThread
you set Count_total_value='toto'
when it should be self.Count_total_value='toto'
.
Note that when posting on stackoverflow you should:
- post a minimilistic working example (you haven't included your UI in the above code so no-one can run your script)
- Check the posted code has the correct indentation and fix any mistakes (your posted code is a mess of incorrect indentation)