TypeError: start() prend exactement 1 argument (0)?

J'ai quelque chose comme ceci:

class thread1(threading.Thread):
    def __init__(self):
        file = open("/home/antoni4040/file.txt", "r")
        data = file.read()
        num = 1
        while True:
           if str(num) in data:
               clas = ExportToGIMP
               clas.update()
           num += 1     
thread = thread1
        thread.start()
        thread.join()

Et j'obtiens cette erreur:

TypeError: start() takes exactly 1 argument (0 given)

Pourquoi?

InformationsquelleAutor Antoni4040 | 2012-10-29